Critical
Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN Injection
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-56705
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 20:33 UTC · Revision 1
Source evidence
Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN Injection
core-osv · Original sourcePublished 25 Aug 2026, 01:30 UTC
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.
osv:CVE-2026-56705
Complete source record
{
"id": "ff35358eec52cfa19dbef7764d79636a2de796f96f4474fc78f5f389c4b2ba23",
"url": "https://osv.dev/vulnerability/CVE-2026-56705",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN Injection",
"summary": "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.",
"evidence": "osv:CVE-2026-56705",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-56705",
"aliases": [
"CVE-2026-56705",
"GHSA-r4x9-5m63-3vxw"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/vrana/adminer",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "189869c4a8f0f897848cdb58493b572178084d6c"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.4.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.4.3"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v5.4.2",
"v5.4.1",
"v5.4.0",
"v5.3.0",
"v5.2.1",
"v5.2.0",
"v5.1.1",
"v5.1.0",
"v5.0.6",
"v5.0.5",
"v5.0.4",
"v5.0.3",
"v5.0.2",
"v5.0.1",
"v5.0.0",
"v4.17.1",
"v4.17.0",
"v4.16.0",
"v4.8.1",
"v4.8.0",
"v4.7.9",
"v4.7.8",
"v4.7.7",
"v4.7.5",
"v4.7.4",
"v4.7.3",
"v4.7.2",
"v4.7.1",
"v4.7.0",
"v4.6.3",
"v4.6.2",
"v4.6.1",
"v4.6.0",
"v4.5.0",
"v4.4.0",
"v4.3.1",
"v4.3.0",
"v4.2.5",
"v4.2.4",
"v4.2.3",
"v4.2.2",
"v4.2.1",
"v4.2.0",
"v4.1.0",
"v4.0.3",
"v4.0.2",
"v4.0.1",
"v4.0.0",
"v3.7.1",
"v3.7.0",
"v3.6.4",
"v3.6.3",
"v3.6.2",
"v3.6.1",
"v3.6.0",
"v3.5.1",
"v3.5.0",
"v3.4.0",
"v3.3.4",
"v3.3.3",
"v3.3.2",
"v3.3.1",
"v3.3.0",
"v3.2.2",
"v3.2.1",
"v3.2.0",
"v3.1.0",
"v3.0.1",
"v3.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56705.json"
}
}
],
"modified": "2026-10-28T02:30:51.700200685Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56705.json",
"https://github.com/vrana/adminer/security/advisories/GHSA-r4x9-5m63-3vxw",
"https://nvd.nist.gov/vuln/detail/CVE-2026-56705",
"https://www.vulncheck.com/advisories/adminer-before-remote-code-execution-via-mssql-pdo-dsn-injection"
],
"provider_metadata": {
"cwe_ids": [
"CWE-73"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56705.json"
}
},
"related_cves": [
{
"value": "CVE-2026-56705",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520327,
"published_at": "2026-08-25T01:30:03.759+00:00"
}