Appium Java Client is the Java language binding for writing Appium tests that conform to the W3C WebDriver protocol. From 8.2.1 until 10.1.1, when directConnect(true) is enabled, AppiumCommandExecutor.setDirectConnect() reads the directConnectHost, directConnectPort, and directConnectPath fields from the server's NEW_SESSION response and rebuilds the client's server URL from them, validating only that the protocol is https, with no host allowlist or IP validation; a rogue or compromised server can therefore redirect all subsequent session traffic to an arbitrary destination, enabling full interception of session traffic and a server-side request forgery pivot to internal hosts, including cloud metadata (IMDS) credential theft. This vulnerability is fixed in 10.1.1.
Fix
Patch, vendor advisory and mitigation references on NVD 4
- https://github.com/appium/java-client/commit/2b9cd442b9dbf56ccc6f1e83aeeb411c0ec230c9 Patch
- https://github.com/appium/java-client/pull/2408 Issue Tracking, Patch
- https://github.com/appium/java-client/security/advisories/GHSA-28f5-38xr-jh2w Exploit, Vendor Advisory
- https://github.com/appium/java-client/security/advisories/GHSA-28f5-38xr-jh2w Exploit, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.2 · appiumNVD modified 2026-10-24 13:10
Affected (CPE criteria) 1
cpe:2.3:a:appium:java-client:*:*:*:*:*:*:*:*
References 5
- https://github.com/appium/java-client/commit/2b9cd442b9dbf56ccc6f1e83aeeb411c0ec230c9 Patch
- https://github.com/appium/java-client/pull/2408 Issue Tracking, Patch
- https://github.com/appium/java-client/releases/tag/v10.1.1 Release Notes
- https://github.com/appium/java-client/security/advisories/GHSA-28f5-38xr-jh2w Exploit, Vendor Advisory
- https://github.com/appium/java-client/security/advisories/GHSA-28f5-38xr-jh2w Exploit, Vendor Advisory