CVE-2026-56705: Adminer ODBC PDO DSN injection leading to RCE

CVE-2026-56705 · Severity: critical · CVSS 9.8 · Published 2026-08-25

Adminer is a popular database management web application. A vulnerability in versions before 5.4.3 allows attackers without authentication to execute arbitrary PHP code on the server by injecting malicious parameters into the database connection string. This works when the server is configured to use Microsoft SQL Server connections and has specific PHP extensions enabled, which is common in enterprises using Azure SQL Database.

Quick answers

Is CVE-2026-56705 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-56705 being exploited in the wild.
How severe is CVE-2026-56705?
Critical severity, with a CVSS score of 9.8, published 25 August 2026.
Which products and versions are affected?
Adminer Project Adminer before 5.4.3.
Is there a fix for CVE-2026-56705?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-56705 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-56705?
Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a parameter injection flaw (CWE-73, CWE-88) in mssql.inc.php where user-supplied server field input is interpolated directly into a PDO DSN string without sanitization. An attacker sends a crafted POST request with semicolon-delimited ODBC parameters in the server field (e.g., "127.0.0.1;TraceFile=shell.php;TraceOn=1"). The ODBC driver manager treats semicolons as parameter delimiters and processes TraceFile/TraceOn parameters before connection attempts, writing a trace file containing the attacker-controlled username. Since PHP code in the username is written verbatim to the trace file in the web root, it executes on subsequent HTTP requests. Attack vector is network-based with no authentication, privileges, or user interaction required. Prerequisites include pdo_sqlsrv PHP extension, Microsoft ODBC Driver for SQL Server, and web-root write permissions—common in SQL Server/Azure environments. Patched in version 5.4.3.

Affected products

  • Adminer Project Adminer before 5.4.3

Timeline

  • 2026-07-09: disclosed: GitHub Security Advisory published
  • 2026-08-25: advisory: NVD entry published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.