CVE-2026-100695: Adminer before 6.0.2 XSS via CONNECTION_ID escalating to RCE

Published Sep 26, 2026
·
Updated

Adminer before 6.0.2 contains a cross-site scripting vulnerability where the CONNECTIONID() 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.

Affected Software

1 affected component
Adminer Adminer<6.0.2

Event History

Sep 26, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker needs to induce user interaction with Adminer while it is connected to a malicious database server. No attacker privileges are required, but the injected JavaScript executes in the origin of an authenticated Adminer session.

2

When can this lead to remote code execution rather than only browser-side impact?

Remote code execution requires a co-located deployment where the database has FILE privileges and can write to the webroot. Under those conditions, the injected script can submit authenticated SQL requests that write a PHP file with INTO DUMPFILE, executing as the web server account.

3

Which versions should be remediated?

Adminer versions before 6.0.2 are affected. Upgrade to version 6.0.2 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203