{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-50636: LimeSurvey RemoteControl invite_participants/remind_participants SQL Injection","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-50636","status":"final","version":"1","initial_release_date":"2026-06-09T17:34:31.751Z","current_release_date":"2026-06-10T22:47:05.513Z","revision_history":[{"date":"2026-06-09T17:34:31.751Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-50636 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-50636"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-50636"},{"category":"external","summary":"GitHub Pull Request 5031","url":"https://github.com/LimeSurvey/LimeSurvey/pull/5031"},{"category":"external","summary":"Official Product Homepage","url":"https://www.limesurvey.org/"},{"category":"external","summary":"VulnCheck Advisory: LimeSurvey RemoteControl invite_participants/remind_participants SQL Injection","url":"https://www.vulncheck.com/advisories/limesurvey-remotecontrol-invite-participants-remind-participants-sql-injection"}]},"product_tree":{"branches":[{"category":"vendor","name":"LimeSurvey","branches":[{"category":"product_name","name":"LimeSurvey","branches":[{"category":"product_version_range","name":"<=7.0","product":{"name":"LimeSurvey LimeSurvey <=7.0","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:limesurvey:limesurvey:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"7.0.1","product":{"name":"LimeSurvey LimeSurvey 7.0.1","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:limesurvey:limesurvey:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-50636","title":"LimeSurvey RemoteControl invite_participants/remind_participants SQL Injection","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"],"fixed":["CSAFPID-2"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","baseScore":8.7,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: 7.0.1.","product_ids":["CSAFPID-1"],"url":"https://github.com/LimeSurvey/LimeSurvey/pull/5031"}]}]}