Description
Adminer before 5.4.3 fails to sanitize the server field before constructing a PDO DSN string, allowing unauthenticated attackers to inject ODBC parameters via semicolons. Attackers can inject TraceFile and TraceOn parameters to write PHP code to the web root, achieving remote code execution when the trace file is accessed.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vrana | adminer | < 5.4.3 | 5.4.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 | adminer | 5.4.3+dfsg-1 | — |
| Debian 13 | adminer | No fix yet | — |
| Debian 12 | adminer | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | adminer | No fix yet | — |
| Ubuntu 24.04 LTS | adminer | No fix yet | — |
| Ubuntu 22.04 LTS | adminer | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | adminer | No fix yet | — |
| Ubuntu Pro 18.04 LTS | adminer | No fix yet | — |
| Ubuntu Pro 16.04 LTS | adminer | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
Boreas37/CVE-2026-56705 ★ 3 · Aug 25, 2026
CVE-2026-56705 - Adminer < 5.4.3 unauthenticated RCE via MSSQL PDO DSN injection (ODBC TraceFile arbitrary file write). PoC, Docker lab and negative test included.
-
ChiefYoru/Exploit-CVE-2026-56705 ★ 0 · Aug 26, 2026
CVE-2026-56705 — Adminer < 5.4.3 Unauthenticated RCE via MSSQL PDO DSN Injection
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- GitHub Security Advisory (GHSA-r4x9-5m63-3vxw) vendor-advisory
- VulnCheck Advisory: Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN Injection third-party-advisory