{"id":"CVE-2026-50636","aliases":["CVE-2026-50636","GHSA-pr6f-87hf-hx24"],"related":[],"kind":"vulnerability","state":"published","title":"LimeSurvey RemoteControl invite_participants/remind_participants SQL Injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Los métodos de la API RemoteControl invite_participants y remind_participants pasan un array de ID de token proporcionado por el llamador a TokenDynamic::findUninvited(), que concatena los valores directamente en una cláusula SQL tid IN ('...') sin parametrización o validación de entrada. Un atacante remoto y autenticado que posee el permiso tokens/update en una encuesta puede inyectar un elemento de array manipulado para realizar una inyección SQL. Debido a que LimeSurvey configura su conexión PDO con sentencias preparadas emuladas (emulatePrepare = true) y no deshabilita las multi-sentencias de MySQL, la inyección soporta consultas apiladas: el atacante puede añadir sentencias adicionales arbitrarias (INSERT/UPDATE/DELETE/DROP/CREATE) después del SELECT original. Esto permite tanto la lectura arbitraria de cualquier dato en la base de datos, como hashes de contraseña bcrypt de administrador (lime_users), PII de respuestas de encuestas, registros de sesión y configuraciones globales, todo recuperable a través de un oráculo ciego basado en tiempo SLEEP(), como la escritura/destrucción arbitraria de esos datos, incluyendo la sobrescritura directa del hash de contraseña del administrador para una toma de control de cuenta inmediata o la eliminación/truncamiento de tablas. Las lecturas y escrituras se extienden a cualquier esquema al que el usuario de la base de datos de la aplicación pueda acceder. La interfaz RemoteControl (RPCInterface = json/xml) debe estar habilitada, lo cual no es la configuración predeterminada.","source":"nvd"}],"published":"2026-06-09T17:34:31.751Z","modified":"2026-11-08T14:05:02.183Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"7.0","status":"affected"},{"type":"custom","version":"7.0.1","status":"unaffected"}],"vendor":"LimeSurvey","product":"LimeSurvey","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"7.0.0-beta1"}],"ecosystem":"Packagist","package":"limesurvey/limesurvey","purl":"pkg:composer/limesurvey/limesurvey","source":"ghsa"}],"references":[{"url":"https://github.com/LimeSurvey/LimeSurvey/pull/5031","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.limesurvey.org/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/limesurvey-remotecontrol-invite-participants-remind-participants-sql-injection","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50636","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/LimeSurvey/LimeSurvey/commit/4f383aa0bbe711f0064b319edb19fba759c50a33","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/LimeSurvey/LimeSurvey/commit/98cfee55df97f9c82a72cf352bb204d51e588f7e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/LimeSurvey/LimeSurvey","tags":["package"],"sources":["ghsa"]},{"url":"https://www.limesurvey.org","tags":["web"],"sources":["ghsa"]}],"credits":["McCaulay Hudson (@_McCaulay) of watchTowr"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-09T18:58:04.976Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-50636","url":"https://www.cve.org/CVERecord?id=CVE-2026-50636","licence":"CVE Terms of Use","modified":"2026-11-08T14:05:02.183Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pr6f-87hf-hx24","url":"https://github.com/advisories/GHSA-pr6f-87hf-hx24","licence":"CC-BY-4.0","modified":"2026-07-31T19:41:43.432Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-50636","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50636","licence":"Public domain","modified":"2026-10-08T16:17:19.373Z"}],"updatedAt":"2026-11-25T22:59:24.247Z","epss":{"score":0.00358,"percentile":0.31528,"date":"2026-12-01T12:00:22.000Z"}}