Adminer before 6.0.2 XSS via CONNECTION_ID escalating to RCE
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
Adminer before 6.0.2 contains a cross-site scripting vulnerability where the CONNECTION_ID() database result is interpolated into JavaScript without proper escaping, allowing a malicious database server to execute arbitrary JavaScript in the authenticated Adminer origin. In co-located deployments where the database has FILE privileges and can write to the webroot, attackers can use the XSS to submit authenticated SQL requests that write PHP files via INTO DUMPFILE, achieving remote code execution as the web server account.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA adminer (vrana) Fixed in 6.0.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
vrana adminer 6.0.2
4 records Highest priority Priority HIGH 2 HIGH, 2 MEDIUM
Other records, highest priority first
- TI-2026-64854 Adminer before 6.0.2 Privileged-Port SSRF via host_port RegexPriority HIGH 70
- TI-2026-64852 Adminer before 6.0.2 Unauthenticated SSRF via Elasticsearch DriverPriority HIGH 70
- TI-2026-64853 Adminer 6.0.0 Server-Side Request Forgery via ClickHouse driverPriority MEDIUM 63
Timeline
- 2026-10-02 Threatist record created from CVE-2026-100695
- 2026-10-03 Alias added: GHSA-3hv2-gxcf-jxpg
References
More Adminer vulnerabilities
- TI-2021-04411 SSRF in adminer KEVCVSS 3.1HIGH 7.2
- TI-2026-40884 Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN Injection CVSS 4.0CRITICAL 9.3
- TI-2026-71163 Remote code execution in Adminer via UTF-8 BOM SQLite bypass CVSS 4.0HIGH 8.6
- TI-2026-40882 Adminer before 5.4.3 Remote Code Execution via SQLite VACUUM INTO CVSS 4.0HIGH 8.6
- TI-2026-64854 Adminer before 6.0.2 Privileged-Port SSRF via host_port Regex CVSS 4.0MEDIUM 6.9
- TI-2026-64852 Adminer before 6.0.2 Unauthenticated SSRF via Elasticsearch Driver CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-100695 · CVE Program
- CVE-2026-100695 · NVD
- FIRST EPSS
- GHSA-3hv2-gxcf-jxpg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences