CVE-2026-50636

HIGH

LimeSurvey RemoteControl invite_participants/remind_participants SQL Injection

Title source: cna
STIX 2.1

Description

The RemoteControl API methods invite_participants and remind_participants pass a caller-supplied token-ID array into TokenDynamic::findUninvited(), which concatenates the values directly into a tid IN ('...') SQL clause without parameterization or input validation. A remote, authenticated attacker holding the tokens/update permission on a survey can inject a crafted array element to perform SQL injection. Because LimeSurvey configures its PDO connection with emulated prepared statements (emulatePrepare = true) and does not disable MySQL multi-statements, the injection supports stacked queries: the attacker can append arbitrary additional statements (INSERT/UPDATE/DELETE/DROP/CREATE) after the original SELECT. This permits both arbitrary read of any data in the database, such as administrator bcrypt password hashes (lime_users), survey response PII, session records, and global settings, all recoverable via a SLEEP() time-based blind oracle, and arbitrary write/destruction of that data, including directly overwriting the administrator password hash for immediate account takeover or dropping/truncating tables. Reads and writes extend to any schema the application's database user can access. The RemoteControl interface (RPCInterface = json/xml) must be enabled, which is not the default.

References (3)

Core 3
Core References
Patch patch
GitHub Pull Request 5031
https://github.com/LimeSurvey/LimeSurvey/pull/5031
Product product
Official Product Homepage
https://www.limesurvey.org/
Third Party Advisory third-party-advisory
VulnCheck Advisory: LimeSurvey RemoteControl invite_participants/remind_participants SQL Injection
https://www.vulncheck.com/advisories/limesurvey-remotecontrol-invite-participants-remind-participants-sql-injection

Scores

CVSS v3 8.8
EPSS 0.0036
EPSS Percentile 27.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-89
Status published
Products (2)
LimeSurvey/LimeSurvey < 7.0
LimeSurvey/LimeSurvey 7.0.1
Published Jun 09, 2026
Tracked Since Jun 09, 2026