CVE-2026-130627
JSON

7.5high

Vert.x HTTP client forwards Authorization and all headers to cross-authority redirect target when followRedirects(true)

Severity
7.5high CVSS:3.1 by redhat-cnalr
Exploit likelihood
0.37% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat-cnalr

Description

The Vert.x HTTP client transport (a2a-java-sdk-http-client-vertx) hand-rolls a POST redirect follower that, when the documented PostBuilder.followRedirects(true) opt-in is enabled, re-issues the redirected request with the full request header map copied verbatim and performs no credential stripping and no same-authority check. A malicious, compromised, or mistyped agent that returns a 30x response with an absolute cross-host Location causes the client to forward the standard Authorization header (Bearer/Basic/OAuth) — plus every other header, including the allowlisted API-key headers — to the attacker-controlled authority. This breaks the project's own cross-transport invariant (SECURITY.md §8, OkHttpPostRedirectHeaderLeakTest) that credentials are stripped on cross-authority redirects even when redirects are followed. The sibling JDK and OkHttp/Android transports strip Authorization; Vert.x uniquely does not. This is a "fix introduced the bug" variant — the follower was added by the GHSA-9rhm hardening PR (3ae82912, refined by a5e76a0b).

Affected

Product or packageVersionsReported by
a2a-java a2a-java-sdk-http-client-vertxfrom 1.3.2.Final up to 1.4.0.FinalCVE List

Classification

CWE-522

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-130627 changed 2026-11-17CVE Terms of Use
NVDCVE-2026-130627 changed 2026-11-24Public domain