Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-43910 — java-client

🟠 CVSS 8.2 — High ✅ No Known Exploit CWE-441 NVD
8.2
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

java-client Allows Network Pivot via Unvalidated directConnect Redirect in AppiumCommandExecutor

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)

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality high, integrity low, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: Required — someone has to click, open or visit something.
  • Scope: Changed — a successful attack reaches components beyond the vulnerable one.
  • Confidentiality impact: High — total loss, or loss the attacker controls.
  • Integrity impact: Low — limited, and the attacker does not choose what is affected.
  • Availability impact: None.

Weakness class

CVE-2026-43910 is classified as 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…

Affected software

CVE-2026-43910 is recorded against 2 packages.

  • io.appium:java-client (from 8.2.1 up to 10.1.1)
  • java-client (from 8.2.1 up to 10.1.1)

Timeline and source

Published on 28 July 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Web)
github.com (Web)
github.com (Web)
github.com (Package)
github.com (Web)

Same weakness in other software

These advisories are the same class of weakness (CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')) in other software:

Details

Severity HIGH
CVSS Score 8.2
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
CWE CWE-441
Public Exploit ✅ No
Source NVD
Published 2026-07-28
Updated 2026-08-20
Modified 2026-07-28

Affected Packages

Software From version Fixed in
io.appium:java-client 8.2.1 10.1.1
java-client 8.2.1 10.1.1

Site Security Check

Is java-client part of your stack?

CVE-2026-43910 is rated CVSS 8.2 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026
✓