Authenticated RCE via ATTACH filter bypass
Published Aug 20, 2026 · Updated Aug 20, 2026
Code injection in Adminer Adminer 5.4.2 allows remote authenticated users to execute arbitrary code via crafted SQLite import input. In sql.inc.php, the SQLite ATTACH filter uses preg_match with a regex that can exhaust PHP backtracking on long comment runs; when preg_match returns false, the code treats that error like a non-match and still sends the ATTACH statement to connection()->multi_query(). Exploitation requires an authenticated Adminer session with access to SQLite import functionality, and successful abuse writes a PHP file that runs with web-server privileges when requested.
Summary
What happened
Code injection in Adminer Adminer 5.4.2 allows remote authenticated users to execute arbitrary code via crafted SQLite import input. In sql.inc.php, the SQLite ATTACH filter uses preg_match with a regex that can exhaust PHP backtracking on long comment runs; when preg_match returns false, the code treats that error like a non-match and still sends the ATTACH statement to connection()->multi_query(). Exploitation requires an authenticated Adminer session with access to SQLite import functionality, and successful abuse writes a PHP file that runs with web-server privileges when requested.
The record
- CVE
- CVE-2026-15686
- Published
- Aug 20, 2026
- Updated
- Aug 20, 2026
- Vendor
- Adminer
- Product
- Adminer
- Classifications
- CWE-94, CWE-1333, CWE-253, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 20, 2026CVE publishedPublication date reported by the CVE source.
- Aug 20, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.4.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Public proof of concept for CVE-2026-15686proof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo