CVE-2026-50636 Details
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.
A SQL injection vulnerability has been identified in LimeSurvey versions through 7.0 within the RemoteControl API methods invite_participants and remind_participants. The vulnerability arises because these methods pass a caller-supplied token-ID array into a SQL clause without proper parameterization or input validation. This flaw allows remote, authenticated attackers with tokens/update permission on a survey to inject crafted array elements, exploiting the application's PDO connection configured with emulated prepared statements. The injection can be used to execute stacked queries, appending arbitrary SQL statements after the original SELECT. This exploitation enables attackers to read any database data accessible to the application's database user, including sensitive information like administrator password hashes, survey response personal data, session records, and global settings. Additionally, the vulnerability allows for arbitrary writing or destruction of database data, such as overwriting the administrator password hash for immediate account takeover or dropping/truncating tables. The impact extends to any database schema the user's database account can access. Exploitation requires the RemoteControl interface to be enabled, which is not the default.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 9, 2026CISA-ADP
Assessed Jun 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/LimeSurvey/LimeSurvey/pull/5031 | [email protected] | Issue TrackingVendor |
| https://www.limesurvey.org/ | [email protected] | Vendor |
| https://www.vulncheck.com/advisories/limesurvey-remotecontrol-invite-participants-remind-participants-sql-injection | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LimeSurvey | <= 7.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 9, 2026 | New CVE Received | [email protected] |
Volerion