CVE-2026-119426phpMyAdmin through 5.2.3 CSRF Token Bypass via Non-AJAX POST to /sql
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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | phpmyadmin | Fix pending | UBUNTU-CVE-2026-119426 | |
| Ubuntu 26.04 | phpmyadmin | Fix pending | UBUNTU-CVE-2026-119426 | |
| Ubuntu 24.04 | phpmyadmin | Fix pending | UBUNTU-CVE-2026-119426 | |
| Ubuntu 22.04 | phpmyadmin | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | phpmyadmin | Fix pending | UBUNTU-CVE-2026-119426 | |
| Ubuntu 16.04 | phpmyadmin | Fix pending | UBUNTU-CVE-2026-119426 | |
| Ubuntu 14.04 | phpmyadmin | Fix pending | UBUNTU-CVE-2026-119426 | |
| Debian 14 | phpmyadmin | Fix pending | DEBIAN-CVE-2026-119426 | |
| Debian 13 | phpmyadmin | Fix pending | DEBIAN-CVE-2026-119426 | |
| Debian 12 | phpmyadmin | Fix pending | DEBIAN-CVE-2026-119426 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- phpMyAdmin: affected: up to 5.2.3
Vendor advisories:
- https://github.com/phpmyadmin/phpmyadmin/commit/d1e2b54b530685c24dd91181b9f64a5a64621789 (patch)
- https://github.com/phpmyadmin/phpmyadmin/commit/910322373f14ed4601c85234858f630f127569ef (patch)
- https://github.com/phpmyadmin/phpmyadmin/pull/20569 (patch)
References
- https://github.com/phpmyadmin/phpmyadmin/commit/d1e2b54b530685c24dd91181b9f64a5a64621789
- https://github.com/phpmyadmin/phpmyadmin/commit/910322373f14ed4601c85234858f630f127569ef
- https://github.com/phpmyadmin/phpmyadmin/pull/20569
- https://github.com/phpmyadmin/phpmyadmin/blob/RELEASE_5_2_3/libraries/classes/Common.php#L87-L151
- https://abraxaslabs.tech/research/phpmyadmin-csrf-sql
- https://github.com/phpmyadmin/phpmyadmin
- https://www.vulncheck.com/advisories/phpmyadmin-through-5.2.3-csrf-token-bypass-via-non-ajax-post-to-sql
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.