- Accueil
- Vulnérabilités
- CVE-2026-130627
CVE-2026-130627
Vert.x HTTP client forwards Authorization and all headers to cross-authority redirect target when followRedirects(true)
Résumé
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).
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
a2a-java (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| a2a-java-sdk-http-client-vertx | de 1.3.2.Final (inclus) à 1.4.0.Final (inclus) |
— | CNA (éditeur ou attributeur) |
Correctif
Correctifsource officielle
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.
Source : CNA (éditeur ou attributeur)
Contournement
Contournementsource officielle
On affected versions, leave PostBuilder.followRedirects(false) (the default) so the SDK does not re-issue POST requests to redirect targets.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Références
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, CNA:redhat-cnalr)- Faiblesse
- CWE-522 · Autre (CWE-522)