phpMyAdmin CSRF Token Bypass via Non-AJAX POST to /sql
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-352.
Summary
phpMyAdmin through 5.2.3 contains a cross-site request forgery flaw (CWE-352) that lets remote attackers run arbitrary SQL by bypassing CSRF token checks on non-AJAX POST requests. An attacker can lure an authenticated victim into submitting a cross-site POST carrying sql_query to /sql or /database/sql, which runs SQL with the victim's database privileges under http or config authentication.
Written with Claude Haiku 5.5 from the sources below · 2026-11-03
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| phpMyAdmin | phpMyAdmin | up to 5.2.3 | — | No fix listed | CNA |
- phpMyAdmin VendorphpMyAdmin Affected up to 5.2.3 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:* | up to 5.2.3 | Vulnerable | phpMyAdmin |
- cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:* Versions up to 5.2.3 Vulnerable ·phpMyAdmin
Remediation
No fixed version is listed for phpMyAdmin, so no upgrade target is available. Red Hat lists one of its products as not affected. Track the phpMyAdmin project for a release that fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-03
Vendor assessments
Timeline
- 2026-10-30 Threatist record created from CVE-2026-119426
- 2026-10-30 Alias added: GHSA-5vv2-vq4f-4f39
- 2026-10-30 CISA SSVC decision points changed
- 2026-10-30 Priority changed: MEDIUM → LOW
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-30 CVSS score added · Red Hat
- 2026-11-03 CVSS score added · NVD
References
Patch 3
More Phpmyadmin vulnerabilities
- TI-2009-01092 Static code injection vulnerability in setup.php in phpMyAdmin 2.11.x before 2.11.9.5 and… KEVCVSS 3.1CRITICAL 9.8
- TI-2018-09056 An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can… CVSS 3.1HIGH 8.8
- TI-2020-14341 SQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in… CVSS 3.1CRITICAL 9.8
- TI-2016-04978 phpMyAdmin 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 does not… CVSS 3.0CRITICAL 9.8
- TI-2020-16362 An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before… CVSS 3.1CRITICAL 9.8
- TI-2012-04350 phpMyAdmin 3.5.2.2, as distributed by the cdnetworks-kr-1 mirror during an unspecified… CVSS 2.0HIGH 7.5
Sources
- CVE-2026-119426 · CVE Program
- CVE-2026-119426 · NVD
- FIRST EPSS
- GHSA-5vv2-vq4f-4f39 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-119426 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences