CVE-2026-43910: Java client Java-client Allows Network Pivot Vulnerability

HIGH
Advisory Identifier: GHSA-28f5-38xr-jh2w
CVSS 8.2
CWE-441 CWE-918
Published
Advisory Summary

CVE-2026-43910 is a HIGH (CVSS 8.2) java-client allows network pivot vulnerability (CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')) affecting Java client libraries in the Maven ecosystem. The issue involves java-client allows network pivot via unvalidated directconnect redirect in appiumcommandexecutor. Remediation is available by upgrading affected packages to version 10.1.1.

CVE-2026-43910 at a Glance

CVE Identifier CVE-2026-43910
GHSA Identifier GHSA-28f5-38xr-jh2w
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
Affected Product Java client
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-43910

To remediate this vulnerability, upgrade all affected Java client dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.appium:java-client fixed: 10.1.1
<dependency>
    <groupId>io.appium</groupId>
    <artifactId>java-client</artifactId>
    <version>10.1.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=io.appium

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-43910, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=io.appium

Analyze the terminal output to locate any version of Java client in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.1.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=io.appium command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy'), where the product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. this causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor. In Java client, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary When `directConnect(true)` is enabled, appium/java-client unconditionally accepts `directConnectHost`, `directConnectPort`, and `directConnectPath` from the server's NEW_SESSION response and silently redirects all subsequent session traffic to the attacker-specified endpoint — with no allowlist, no host validation, and no user notification. ## Affected Code - `AppiumCommandExecutor.java` (line 196–219): `setDirectConnect()` builds a new URL from server-supplied fields and calls `overrideServerUrl(newUrl)` without validating host/IP. - `DirectConnect.java`: `getUrl()` constructs `protocol://host:port/path` with no allowlist. ## Root Cause Only the protocol is validated (must equal "https"). The destination host and port are never checked against any allowlist or denylist. ## PoC (confirmed) A rogue server injecting `directConnectHost=127.0.0.1:4443` causes the client to silently redirect all post-session commands: [bootstrap] POST /wd/hub/session [bootstrap] Injecting directConnect -> https://127.0.0.1:4443/wd/hub [redirect-target] HIT #1: GET /wd/hub/session/poc-session-001/source [redirect-target] HIT #2: DELETE /wd/hub/session/poc-session-001 Original source code unmodified — confirmed via `git diff HEAD` (empty). ## Evidence Screenshots **Screenshot 1 — Rogue server capturing redirected traffic:** <img width="887" height="146" alt="1" src="https://github.com/user-attachments/assets/cc28002c-ea20-4ac8-8336-cec632e3c842" /> **Screenshot 2 — Java client processing response from attacker host:** <img width="788" height="130" alt="2" src="https://github.com/user-attachments/assets/222cbab0-0d53-45b2-847d-6aa4e3b79370" /> ## Impact - Full interception of session traffic - Network pivot to internal hosts (RFC-1918, 169.254.169.254) - Cloud credential theft via IMDS endpoint - Escalates to ~8.1 High in CI/CD environments where directConnect(true) is set in shared base configuration ## Suggested Fix Add allowlist validation before `overrideServerUrl()` is called, and/or block RFC-1918/loopback/link-local destinations by default. [poc_appium_directconnect.zip](https://github.com/user-attachments/files/26472525/poc_appium_directconnect.zip)

CVE-2026-43910 Affected Java client Versions

1 component(s)
Fixed Versions:
10.1.1
Product / Package Ecosystem Affected Versions Fixed Version
io.appium:java-client
Maven
≥ 8.2.1
< 10.1.1
10.1.1

References

Frequently Asked Questions

What is CVE-2026-43910?
CVE-2026-43910 is a security vulnerability in Java client involving java-client Allows Network Pivot via Unvalidated directConnect Redirect in AppiumCommandExecutor under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy').
Which Java client versions are affected?
Affected versions include releases prior to 10.1.1 across affected packages: io.appium:java-client.
What version fixes CVE-2026-43910?
Upgrading to 10.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is java-client affected?
Yes, io.appium:java-client is affected in releases prior to 10.1.1. Upgrade your dependency to 10.1.1 or later.
What is the CVSS score of CVE-2026-43910?
CVE-2026-43910 has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N.
What CWE is associated with CVE-2026-43910?
CVE-2026-43910 is classified under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy') (The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. This causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor.).
How can I check Maven dependencies for CVE-2026-43910?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.appium'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-28f5-38xr-jh2w",
  "modified" : "2026-07-28T14:26:53Z",
  "published" : "2026-07-28T14:26:53Z",
  "aliases" : [ "CVE-2026-43910" ],
  "summary" : "java-client Allows Network Pivot via Unvalidated directConnect Redirect in AppiumCommandExecutor",
  "details" : "## Summary\n\nWhen `directConnect(true)` is enabled, appium/java-client unconditionally\naccepts `directConnectHost`, `directConnectPort`, and `directConnectPath`\nfrom the server's NEW_SESSION response and silently redirects all subsequent\nsession traffic to the attacker-specified endpoint — with no allowlist,\nno host validation, and no user notification.\n\n## Affected Code\n\n- `AppiumCommandExecutor.java` (line 196–219): `setDirectConnect()` builds\n  a new URL from server-supplied fields and calls `overrideServerUrl(newUrl)`\n  without validating host/IP.\n- `DirectConnect.java`: `getUrl()` constructs `protocol://host:port/path`\n  with no allowlist.\n\n## Root Cause\n\nOnly the protocol is validated (must equal \"https\"). The destination host\nand port are never checked against any allowlist or denylist.\n\n## PoC (confirmed)\n\nA rogue server injecting `directConnectHost=127.0.0.1:4443` causes the\nclient to silently redirect all post-session commands:\n\n[bootstrap]       POST /wd/hub/session\n[bootstrap]       Injecting directConnect -> https://127.0.0.1:4443/wd/hub\n[redirect-target] HIT #1: GET /wd/hub/session/poc-session-001/source\n[redirect-target] HIT #2: DELETE /wd/hub/session/poc-session-001\n\nOriginal source code unmodified — confirmed via `git diff HEAD` (empty).\n\n## Evidence Screenshots\n\n**Screenshot 1 — Rogue server capturing redirected traffic:**\n\n<img width=\"887\" height=\"146\" alt=\"1\" src=\"https://github.com/user-attachments/assets/cc28002c-ea20-4ac8-8336-cec632e3c842\" />\n\n**Screenshot 2 — Java client processing response from attacker host:**\n\n<img width=\"788\" height=\"130\" alt=\"2\" src=\"https://github.com/user-attachments/assets/222cbab0-0d53-45b2-847d-6aa4e3b79370\" />\n\n## Impact\n\n- Full interception of session traffic\n- Network pivot to internal hosts (RFC-1918, 169.254.169.254)\n- Cloud credential theft via IMDS endpoint\n- Escalates to ~8.1 High in CI/CD environments where directConnect(true)\n  is set in shared base configuration\n\n## Suggested Fix\n\nAdd allowlist validation before `overrideServerUrl()` is called, and/or\nblock RFC-1918/loopback/link-local destinations by default.\n\n[poc_appium_directconnect.zip](https://github.com/user-attachments/files/26472525/poc_appium_directconnect.zip)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.appium:java-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.2.1"
      }, {
        "fixed" : "10.1.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 10.1.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/appium/java-client/security/advisories/GHSA-28f5-38xr-jh2w"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/appium/java-client/pull/2408"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/appium/java-client/commit/2b9cd442b9dbf56ccc6f1e83aeeb411c0ec230c9"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/appium/java-client"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/appium/java-client/releases/tag/v10.1.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-441", "CWE-918" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-28T14:26:53Z",
    "nvd_published_at" : null
  }
}