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.
Metrics
CVSS 3.1 8.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| phpMyAdmin | phpMyAdmin | <= 5.2.3 |
References
- https://abraxaslabs.tech/research/phpmyadmin-csrf-sqlExploit, Third Party Advisory
- https://github.com/phpmyadmin/phpmyadminProduct
- https://github.com/phpmyadmin/phpmyadmin/blob/RELEASE_5_2_3/libraries/classes/Common.php#L87-L151Product
- https://github.com/phpmyadmin/phpmyadmin/commit/910322373f14ed4601c85234858f630f127569efPatch
- https://github.com/phpmyadmin/phpmyadmin/commit/d1e2b54b530685c24dd91181b9f64a5a64621789Patch
- https://github.com/phpmyadmin/phpmyadmin/pull/20569Patch
- https://www.vulncheck.com/advisories/phpmyadmin-through-5.2.3-csrf-token-bypass-via-non-ajax-post-to-sqlPatch, Third Party Advisory
Timeline
- Published
- Oct 30, 2026
- Last modified
- Nov 3, 2026
- NVD status
- Analyzed