All vulnerabilities

Servers and applications

GHSA-r9r5-j5q8-8c59

Adminer RCE via UTF-8 BOM Bypass of SQLite ATTACH/VACUUM INTO Restrictions

Severity
High 7.2
Published
25 Sept 2026
Last changed
25 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
6.1.1
Weakness
Code injection (CWE-94)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

An authenticated Adminer user with SQLite access can bypass the application's ATTACH and VACUUM INTO restrictions by prefixing the SQL statement with a UTF-8 byte-order mark (EF BB BF). Adminer's filter does not recognize the statement, but SQLite removes the BOM and executes it.

This permits creation of a SQLite file at an arbitrary path writable by PHP. If that path is served by a PHP-enabled web server, PHP code embedded in a table name executes as the web-server user.

Adminer blocks dangerous SQLite statements only when the keyword appears after its own definition of whitespace or comments:

The regex does not consume EF BB BF, so it returns no match. SQLite accepts the same bytes as a leading BOM and executes the following ATTACH or VACUUM INTO statement.

An authenticated database user can execute arbitrary PHP or shell execution (if enabled) as the web server account.

From vrana/adminer's security advisory.

Affected software

SoftwareAffected versions
AdminerServers and applications · github:vrana/adminer
  • Every version before 6.1.1

About Adminer

tool for managing content in MySQL databases

From Wikidata, CC0 1.0.
Docker Hub pulls
411,345,578Docker Hub, 15 Nov 2026
GitHub stars
7,954GitHub, 15 Nov 2026
Forks
1,181GitHub, 15 Nov 2026
Latest release
v6.3.0GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
Developer
Jakub VránaWikidata
License
Apache LicenseWikidata
Written in
PHPWikidata
First released
11 Jul 2007Wikidata
First published on GitHub
25 Apr 2010GitHub

References