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

Summary

CVECVE-2026-130627
StatePUBLISHED
Assignerredhat-cnalr
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-17 15:17:40 UTC
Updated2026-11-17 15:17:40 UTC
DescriptionThe 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).

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from 74b3a70d-cca6-4d34-9789-e83b222ae3be

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem Types: CWE-522 | CWE-522 CWE-522


VersionSourceTypeScoreSeverityVector
3.174b3a70d-cca6-4d34-9789-e83b222ae3beSecondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
3.1CNACVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA A2a-java A2a-java-sdk-http-client-vertx affected 1.3.2.Final 1.4.0.Final custom Not specified

References

ReferenceSourceLinkTags
github.com/a2aproject/a2a-java/security/advisories/GHSA-w377-w7c6-c8hr 74b3a70d-cca6-4d34-9789-e83b222ae3be github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: manus-use (en)

Additional Advisory Data

Solutions

CNA: Upgrade to 1.5.0.Final or later. PR #1255 applies the shared RedirectHeaderPolicy to explicitly enabled, one-hop synchronous POST redirects across the JDK, Vert.x, and Android HTTP clients. The policy strips Authorization and the allowlisted API-key headers when a redirect crosses authorities. The reporter reviewed the proposed fix and confirmed that it addresses the reported issue.

Workarounds

CNA: On affected versions, leave PostBuilder.followRedirects(false) (the default) so the SDK does not re-issue POST requests to redirect targets.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report