LimeSurvey has a SQL Injection issue (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.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-50636) in LimeSurvey 7.0.0-beta1 arises from insecure handling of token-ID arrays in RemoteControl API methods invite_participants and remind_participants. These arrays are concatenated directly into a tid IN ('...') SQL clause without parameterization or input validation, allowing SQL injection. Because LimeSurvey uses PDO with emulatePrepare=true and does not disable MySQL multi-statements, attackers can execute stacked queries, enabling arbitrary SQL commands beyond the initial SELECT. This permits reading sensitive data such as administrator bcrypt password hashes, survey responses, session records, and global settings via time-based blind SQL injection techniques, as well as arbitrary writes including overwriting administrator credentials or dropping tables. The attack requires authenticated access with tokens/update permission and that the RemoteControl interface (RPCInterface = json/xml) is enabled, which is off by default.
Potential Impact
An authenticated attacker with tokens/update permission can exploit this vulnerability to perform arbitrary SQL injection with stacked queries. This enables full read access to sensitive database contents including administrator password hashes, personally identifiable information in survey responses, session data, and global settings. The attacker can also perform destructive operations such as overwriting administrator credentials for immediate account takeover or dropping/truncating database tables. The impact affects all data accessible by the database user. The RemoteControl interface must be enabled for exploitation, limiting exposure to environments where this feature is active.
Mitigation Recommendations
No official patch or fix is currently documented for this vulnerability. Since the RemoteControl interface must be enabled for exploitation and it is disabled by default, disabling or not enabling this interface reduces exposure. Monitor vendor advisories for updates or patches addressing this issue. Until a fix is available, restrict tokens/update permissions to trusted users only and consider disabling RemoteControl API if not required. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
LimeSurvey has a SQL Injection issue (CVE-2026-50636)
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.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-50636) in LimeSurvey 7.0.0-beta1 arises from insecure handling of token-ID arrays in RemoteControl API methods invite_participants and remind_participants. These arrays are concatenated directly into a tid IN ('...') SQL clause without parameterization or input validation, allowing SQL injection. Because LimeSurvey uses PDO with emulatePrepare=true and does not disable MySQL multi-statements, attackers can execute stacked queries, enabling arbitrary SQL commands beyond the initial SELECT. This permits reading sensitive data such as administrator bcrypt password hashes, survey responses, session records, and global settings via time-based blind SQL injection techniques, as well as arbitrary writes including overwriting administrator credentials or dropping tables. The attack requires authenticated access with tokens/update permission and that the RemoteControl interface (RPCInterface = json/xml) is enabled, which is off by default.
Potential Impact
An authenticated attacker with tokens/update permission can exploit this vulnerability to perform arbitrary SQL injection with stacked queries. This enables full read access to sensitive database contents including administrator password hashes, personally identifiable information in survey responses, session data, and global settings. The attacker can also perform destructive operations such as overwriting administrator credentials for immediate account takeover or dropping/truncating database tables. The impact affects all data accessible by the database user. The RemoteControl interface must be enabled for exploitation, limiting exposure to environments where this feature is active.
Mitigation Recommendations
No official patch or fix is currently documented for this vulnerability. Since the RemoteControl interface must be enabled for exploitation and it is disabled by default, disabling or not enabling this interface reduces exposure. Monitor vendor advisories for updates or patches addressing this issue. Until a fix is available, restrict tokens/update permissions to trusted users only and consider disabling RemoteControl API if not required. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pr6f-87hf-hx24
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-50636"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6d13aebf32cb7a3457feab
Added to database: 07/31/2026, 21:29:18 UTC
Last enriched: 07/31/2026, 21:33:25 UTC
Last updated: 09/11/2026, 22:06:33 UTC
Views: 75
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.