Servers and applications
GHSA-7c5h-q78c-fpxx
Conditional RCE via CONNECTION_ID XSS + INTO DUMPFILE
- Severity
- Medium 6.1
- Published
- 7 Sept 2026
- Last changed
- 7 Sept 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 6.0.2
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Sources
- Project advisories (GitHub)
Description
Summary
Adminer 6.0.2-dev contains a malicious-database-server XSS that can be escalated to code execution in a co-located deployment. Adminer requests SELECT CONNECTION_ID() from a MySQL/MariaDB server and interpolates the returned value into an existing CSP-nonce-bearing JavaScript block without JavaScript escaping. A database server controlled by an attacker can return JavaScript instead of a numeric connection ID.
The XSS executes in the authenticated Adminer origin and can submit same-origin Adminer requests. If the deployment also has a database service on the web server, the authenticated database identity has FILE, secure_file_priv permits the webroot, the database service can write there, and PHP executes the resulting file, an Adminer SQL request can write an auto-loaded adminer-plugins.php file with SELECT ... INTO DUMPFILE. The file is then executed by the web server.
Affected software
| Software | Affected versions |
|---|---|
AdminerServers and applications · github:vrana/adminer |
|
About Adminer
tool for managing content in MySQL databases
- 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
Website Source code Docker image
Vulnerabilities in Adminer
- In our list
- 25
- Published in the last 12 months
- 19
- Critical, last 12 months
- 1
- High, last 12 months
- 6
- Known exploited
- 1
- CVE-2026-109347Adminer before 6.1.1 RCE via UTF-8 BOM SQLite ATTACH BypassHigh 8.6 12 Oct 2026
- GHSA-r9r5-j5q8-8c59Adminer RCE via UTF-8 BOM Bypass of SQLite ATTACH/VACUUM INTO RestrictionsHigh 7.2 25 Sept 2026
- GHSA-q8h3-4cx4-prgmUnauthenticated Pre-Authentication SSRF in Adminer Elasticsearch PluginMedium 5.8 7 Sept 2026
- GHSA-rwxg-xph9-82cjPrivileged-port SSRF via host_port regex non-matchMedium 6.9 7 Sept 2026
- GHSA-77qq-q8fv-x45vAdminer 6.0.0: ClickHouse driver reflects arbitrary HTTP response body on login error (pre-auth SSRF with full response echo)Medium 7 Sept 2026
- GHSA-fr74-9mf9-gf44X-Forwarded-Prefix backslash bypassLow 2.3 21 Jul 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-7c5h-q78c-fpxx
- github.com https://github.com/vrana/adminer/security/advisories/GHSA-7c5h-q78c-fpxx