Description
phpMyAdmin through 5.2.3 contains an sql injection vulnerability in Designer saveSetting() that allows authenticated users to inject SQL via unescaped json_encode() output. Attackers can send crafted index or value parameters with operation=save_setting_value to /database/designer to overwrite other users' designer settings or run controluser subqueries.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| phpMyAdmin | phpMyAdmin | ≤ 5.2.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | phpmyadmin | No fix yet | — |
| Debian 13 | phpmyadmin | No fix yet | — |
| Debian 12 | phpmyadmin | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | phpmyadmin | No fix yet | — |
| Ubuntu 26.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu 24.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu 22.04 LTS | phpmyadmin | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu Pro 18.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu Pro 16.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu Pro 14.04 LTS | phpmyadmin | No fix yet | — |
Advisories 1
- WID-SEC-2026-4278 phpMyAdmin: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 1, 2026
References
- https://github.com/phpmyadmin/phpmyadmin/commit/ec0c6d8394b70d67798f38b645e39c26ea96a2a3 patch
- https://github.com/phpmyadmin/phpmyadmin/commit/8d1244a72b3be073418e0e08f6f5506815bc7e65 patch
- https://github.com/phpmyadmin/phpmyadmin/pull/18698 patch issue-tracking
- https://github.com/phpmyadmin/phpmyadmin/blob/RELEASE_5_2_3/libraries/classes/Database/Designer/Common.php#L788-L808 technical-description
- https://abraxaslabs.tech/research/phpmyadmin-designer-json-sqli third-party-advisory
- https://github.com/phpmyadmin/phpmyadmin product
- VulnCheck Advisory: phpMyAdmin through 5.2.3 SQL Injection via Designer saveSetting third-party-advisory