Adminer
Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN Injection
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.4.3
Fixed in 5.4.3
Mitigation
Upgrade adminer to 5.4.3 or later.
References
- Vendor advisory github.com/vrana/adminer/security/advisories/G…
Timeline
Days relative to CVE publicationFirst public PoC 19 h after publication; not in CISA KEV. First PoC: Boreas37/CVE-2026-56705 (created 25 Aug 2026, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Boreas37/CVE-2026-56705 | 25 Aug 2026 +19 h | 3 | PoC |
| ChiefYoru/Exploit-CVE-2026-56705 | 26 Aug 2026 +1.2 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /adminer.php
- Query
mssql=username=<?php echo "RCE"."56705"."OK";?>- Key headers
Cookie: adminer_sid={var}- Ports
- 8081
- Seen in
- 1 repo: Boreas37/CVE-2026-56705
- Evidence
- Boreas37/CVE-2026-56705/CVE-2026-56705.yaml:57
GET /pwn56705.php
- Ports
- 8081
- Seen in
- 1 repo: Boreas37/CVE-2026-56705
- Evidence
- Boreas37/CVE-2026-56705/CVE-2026-56705.yaml:62
POST /adminer.php
- Body markers
auth[driver]=mssqlauth[server]=auth[username]=<?php echo "RCE"."56705"."OK";?>auth[password]=xinapplication/x-www-form-urlencoded- Ports
- 8081
- Seen in
- 1 repo: Boreas37/CVE-2026-56705
- Evidence
- Boreas37/CVE-2026-56705/CVE-2026-56705.yaml:51
GET /{var}
- Query
c=- Ports
- 8081
- Seen in
- 1 repo: Boreas37/CVE-2026-56705
- Evidence
- Boreas37/CVE-2026-56705/poc.py:105
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/adminer\.php\?(?:.*&)?mssql=.*username=<\?php echo "RCE"\."56705"\."OK";\?>
(?i)^/pwn56705\.php(?:[?#].*)?$
(?i)^/adminer\.php(?:[?#].*)?$
(?i)^/[^/?#]*\?(?:.*&)?c=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2026-56705 vrana adminer exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/adminer.php"; http.uri; content:"mssql="; http.uri; content:"username=<?php echo |22|RCE|22|.|22|56705|22|.|22|OK|22||3b|?>"; http.header; content:"Cookie: adminer_sid="; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-56705; classtype:web-application-attack; sid:9219607; rev:1;)
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2026-56705 vrana adminer exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/pwn56705.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-56705; classtype:web-application-attack; sid:9495621; rev:1;)
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2026-56705 vrana adminer exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/adminer.php"; http.request_body; content:"auth[driver]=mssql"; http.request_body; content:"auth[server]="; http.request_body; content:"auth[username]=<?php echo |22|RCE|22|.|22|56705|22|.|22|OK|22||3b|?>"; http.request_body; content:"auth[password]=x"; reference:url,poc.griffinguard.io/cve/CVE-2026-56705; classtype:web-application-attack; sid:9492097; rev:1;)
alert http any any -> $HOME_NET [8081] (msg:"GG PoC-Monitor CVE-2026-56705 vrana adminer exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"c="; reference:url,poc.griffinguard.io/cve/CVE-2026-56705; classtype:web-application-attack; sid:9266184; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: vrana adminer exploit attempt (CVE-2026-56705)
id: gg-pocmon-cve-2026-56705-9219607
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-56705. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-56705
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/adminer.php'
cs-uri-query|contains|all:
- 'mssql='
- 'username=<?php echo "RCE"."56705"."OK";?>'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.56705
title: vrana adminer exploit attempt (CVE-2026-56705)
id: gg-pocmon-cve-2026-56705-9495621
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-56705. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-56705
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/pwn56705.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.56705
title: vrana adminer exploit attempt (CVE-2026-56705)
id: gg-pocmon-cve-2026-56705-9492097
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-56705. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-56705
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/adminer.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.56705
title: vrana adminer exploit attempt (CVE-2026-56705)
id: gg-pocmon-cve-2026-56705-9266184
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-56705. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-56705
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-query|contains|all:
- 'c='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.56705