SQL Injection in Limesurvey
CVE-2026-50636
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (46.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 46th percentile — 46.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.006 · change: +0.002
Affected products
- Limesurvey — versions 0, 7.0.1
Weakness classification (CWE)
References
- github.com/LimeSurvey/LimeSurvey/pull/5031 (issue-tracking, patch)
- www.limesurvey.org/ (product)
- www.vulncheck.com/advisories/limesurvey-remotecontrol-invite-participants-remin… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-50636?
- CVE-2026-50636 is a high-severity vulnerability in Limesurvey, classified under SQL Injection. CVSS score: 8.8/10. Published 2026-06-09.
- How severe is CVE-2026-50636?
- High severity. CVSS v3 base score is 8.8 out of 10.