{"answers":{"affected":"2 open source packages ship an affected version, including limesurvey/limesurvey.","exploited":"There is no known exploitation of CVE-2026-50636 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-50636 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-50636 is a high-severity SQL injection vulnerability in LimeSurvey, published on 9 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50636 and fix it if it is affected.\n\nWhat it is: CVE-2026-50636 is a high-severity SQL injection vulnerability in LimeSurvey, published on 9 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-50636 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- limesurvey/limesurvey (Packagist): affected all versions up to 7.0.0-beta1; no fix listed\n- limesurvey/limesurvey (Packagist): affected all versions up to 7.0.0-beta1; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50636/ (Markdown: https://insights.sbomify.com/CVE-2026-50636/index.md)","id":"CVE-2026-50636","markdown":"https://insights.sbomify.com/CVE-2026-50636/index.md","name":"CVE-2026-50636","record":{"aliases":["GHSA-pr6f-87hf-hx24"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","data_modify","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Survey management software","requires_auth":"low_privilege","summary":"Authenticated attackers can inject SQL via RemoteControl API to read sensitive data or overwrite admin credentials, requiring the non-default RemoteControl interface to be enabled.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"LimeSurvey RemoteControl invite_participants/remind_participants SQL Injection","id":"CVE-2026-50636","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Metrics::Any::Adapter::Statsd versions before 0.04 for Perl does not protect against metric injections","id":"CVE-2026-50637"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["7.0.0-beta1"],"package":"limesurvey/limesurvey","purl":null,"source":"GHSA-pr6f-87hf-hx24"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["7.0.0-beta1"],"package":"limesurvey/limesurvey","purl":"pkg:composer/limesurvey/limesurvey","source":"GHSA-pr6f-87hf-hx24"}],"prev":{"headline":"LimeSurvey Password Reset Host Header Injection Discloses Reset Token","id":"CVE-2026-50635"},"products":["LimeSurvey"],"published":"2026-06-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["LimeSurvey"]},"summary":"Authenticated attackers can inject SQL via RemoteControl API to read sensitive data or overwrite admin credentials, requiring the non-default RemoteControl interface to be enabled.","url":"https://insights.sbomify.com/CVE-2026-50636/"}