{"id":"CVE-2026-119426","kind":"vulnerability","aliases":["CVE-2026-119426"],"related":[],"title":"phpMyAdmin: forged requests let attackers run SQL as logged-in users","description":"phpMyAdmin through 5.2.3 contains a cross-site request forgery vulnerability that allows remote attackers to execute arbitrary SQL by bypassing CSRF token checks on non-AJAX POST requests. Attackers can lure authenticated victims into submitting cross-site POSTs carrying sql_query to /sql or /database/sql, running SQL with the victim's database privileges under http or config authentication.","summary":"phpMyAdmin through 5.2.3 skips its CSRF token check on some non-AJAX POST requests, so a malicious page can make a logged-in user's browser submit SQL to /sql or /database/sql. The attacker then runs arbitrary SQL with the victim's database privileges.","severity":"high","cvss":7.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["mysql","php","phpmyadmin","runtime","self-hosted"],"not_affected_if":["newer-version","no-http-auth"],"how_to_check":"- Check the installed phpMyAdmin version in the `config.inc.php` or the package manager, and see whether it is `5.2.3` or older.\n- Confirm whether phpMyAdmin is reachable from the internet and uses `http` or `config` authentication.","fix":"- Move phpMyAdmin past `5.2.3`; the sources do not name the fixed version.","status":"open","published_at":"2026-10-30T12:16:39+00:00","first_seen_at":"2026-10-30T12:30:25+00:00","triaged_at":"2026-10-30T12:32:17+00:00","updated_at":"2026-10-30T12:32:17+00:00","category":"runtime","confidence":0.6,"triage":{"at":"2026-10-30T12:32:17Z","model":"claude-haiku-5-5","output":{"fix":"- Move phpMyAdmin past `5.2.3`; the sources do not name the fixed version.","reach":"internet","title":"phpMyAdmin: forged requests let attackers run SQL as logged-in users","impact":"high","summary":"phpMyAdmin through 5.2.3 skips its CSRF token check on some non-AJAX POST requests, so a malicious page can make a logged-in user's browser submit SQL to /sql or /database/sql. The attacker then runs arbitrary SQL with the victim's database privileges.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["phpmyadmin","self-hosted","php","mysql"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"Attacker runs arbitrary SQL with the victim's database privileges","analyst_note":"Find the fixed phpMyAdmin version and the vendor advisory; the NVD entry does not name one.","how_to_check":"- Check the installed phpMyAdmin version in the `config.inc.php` or the package manager, and see whether it is `5.2.3` or older.\n- Confirm whether phpMyAdmin is reachable from the internet and uses `http` or `config` authentication.","plain_action":"","needs_analyst":true,"not_affected_if":["newer-version","no-http-auth"],"who_is_affected":"Teams running phpMyAdmin 5.2.3 or older with http or config authentication, where a logged-in administrator can be lured to a malicious page. Exposure is lower if phpMyAdmin is only reachable on an internal network and access is restricted. Installations that are not running phpMyAdmin can skip this.","user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000726,"input_tokens":4170,"output_tokens":618,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-119426':15A,18A '-2026':14A,17A '/database/sql':59B,119C '/sql':57B,117C '5.2.3':28B,74C 'ajax':38B,99C 'allow':84C 'arbitrari':64B,89C 'attack':5A,61B,86C,102C 'authent':105C,132C 'browser':53B 'bypass':92C 'carri':113C 'check':33B,95C 'config':131C 'contain':75C 'cross':78C,110C 'cross-sit':77C,109C 'csrf':31B,93C 'cve':13A,16A 'databas':70B,126C 'execut':88C 'forg':2A 'forgeri':81C 'host':25B 'http':129C 'let':4A 'log':10A,49B 'logged-in':9A,48B 'lure':104C 'make':46B 'malici':43B 'mysql':19B 'non':37B,98C 'non-ajax':36B,97C 'page':44B 'php':20B 'phpmyadmin':1A,21B,26B,72C 'post':39B,100C,112C 'privileg':71B,127C 'queri':115C 'remot':85C 'request':3A,40B,80C,101C 'run':6A,63B,120C 'runtim':22B 'self':24B 'self-host':23B 'site':79C,111C 'skip':29B 'sql':7A,55B,65B,90C,114C,121C 'submit':54B,108C 'token':32B,94C 'user':12A,51B 'victim':68B,106C,124C 'vulner':82C","nicknames":[],"mitigations":[],"who_affected":"Teams running phpMyAdmin 5.2.3 or older with http or config authentication, where a logged-in administrator can be lured to a malicious page. Exposure is lower if phpMyAdmin is only reachable on an internal network and access is restricted. Installations that are not running phpMyAdmin can skip this.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T12:16:39+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-119426","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119426","severity":null,"published_at":"2026-10-30T12:16:39+00:00","modified_at":"2026-10-30T12:16:39+00:00","first_seen_at":"2026-10-30T12:30:25+00:00","fetched_at":"2026-10-30T12:30:25+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}