Android A2A Java SDK forwards API keys across redirects
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-522.
Summary
The Android HTTP client in the A2A Java SDK from 1.3.0.Final before 1.3.2.Final follows redirects on synchronous POST requests even when they are disabled. Android's OkHttp strips Authorization on cross-authority redirects but keeps the X-API-Key and similar headers, disclosing the configured key or token (CWE-522). An attacker who controls a redirect separately from the credential handling can read the credential, and the impact is limited to disclosure.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
A2A Java SDK is the official Java SDK for the Agent2Agent (A2A) Protocol. Starting in version 1.3.0.Final and prior to version 1.3.2.Final, the AndroidA2AHttpClient synchronous POST path overrides the disabled-redirect setting in AndroidA2AHttpClient.createConnection() with the PostBuilder default followRedirects value of true, leaving a residual of the earlier credential-redirect fix. JSONRPCTransport and RestTransport add interceptor-produced authentication headers and call synchronous post() without disabling redirects. AuthInterceptor permits X-API-Key, API-Key, X-Auth-Token, and X-Authentication headers; Android's repackaged OkHttp strips Authorization on cross-authority redirects but retains these nonstandard headers, disclosing a complete configured API key or token to another authority. The additional exposure applies when redirect or front-door behavior is compromised separately from the credential-handling component, or those components operate in different trust domains; a completely malicious initial origin already receives the credential on the first request. Autonomous clients require no human action, while user-invoked workflows can require interaction. Explicit followRedirects(false) prevents the redirected request. The demonstrated impact is credential disclosure, not subsequent credential use, integrity or availability impact, code execution, or host compromise. This issue is fixed in version 1.3.2.Final.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| a2aproject | a2a-java | 1.3.0.Final to before 1.3.2.Final | 1.3.2.Final | Patch available | CNA |
| — | org.a2aproject.sdk:a2a-java-sdk-http-client-android (Maven) | 1.3.0.Final to before 1.3.2.Final | 1.3.2.Final | Patch available | GHSA-4fpj-g9jf-9rgg |
- a2a-java Vendora2aproject Affected 1.3.0.Final to before 1.3.2.Final Fixed in 1.3.2.Final Patch available CNA
- org.a2aproject.sdk:a2a-java-sdk-http-client-android (Maven) Vendor— Affected 1.3.0.Final to before 1.3.2.Final Fixed in 1.3.2.Final Patch available GHSA-4fpj-g9jf-9rgg
Remediation
Update the org.a2aproject.sdk:a2a-java-sdk-http-client-android package to 1.3.2.Final, which fixes this issue. The sources list no fixed version for a2a-java. Setting followRedirects(false) prevents the redirected request.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA a2a-java (a2aproject) Fixed in 1.3.2.Final
- Fix · GHSA-4fpj-g9jf-9rgg org.a2aproject.sdk:a2a-java-sdk-http-client-android (Maven) Fixed in 1.3.2.Final Advisory →
Timeline
- 2026-10-20 Threatist record created from CVE-2026-111765
- 2026-10-21 Alias added: GHSA-4fpj-g9jf-9rgg
- 2026-10-21 Fix available: Maven/org.a2aproject.sdk:[email protected] · GHSA-4fpj-g9jf-9rgg
- 2026-10-21 CVSS score added · GHSA-4fpj-g9jf-9rgg
- 2026-10-21 Weakness changed · GHSA-4fpj-g9jf-9rgg
- 2026-10-21 9 new references · GHSA-4fpj-g9jf-9rgg
- 2026-10-22 Priority changed: MEDIUM → LOW
- 2026-10-23 CISA SSVC decision points changed
- 2026-10-23 Priority changed: LOW → HIGH
References
Other 8
- https://github.com/a2aproject/a2a-java/security/advisories/GHSA-4fpj-g9jf-9rgg
- https://github.com/a2aproject/a2a-java/security/advisories/GHSA-9rhm-2h4x-jwmx
- https://github.com/a2aproject/a2a-java/pull/1141
- https://github.com/a2aproject/a2a-java/commit/2a36530d75e11bcf9b81f543464dbe193ca6478e
- https://github.com/a2aproject/a2a-java/commit/3ae82912a106a6765d7b78042b0ef96e6c2e29b5
- https://github.com/a2aproject/a2a-java/blob/30e31086e24bea096b5f662088661269c9119100/SECURITY.md#L335-L342
- https://github.com/a2aproject/a2a-java/releases/tag/v1.3.2.Final
- https://github.com/a2aproject/a2a-java
More a2aproject vulnerabilities
- TI-2026-76904 A2A Java SDK default task store skips authorization on task reads CVSS 3.1HIGH 7.5
- TI-2026-76847 Server-side request forgery in A2A Java SDK push notifications CVSS 3.1MEDIUM 5.8
- TI-2026-81183 Resource consumption in a2aproject a2a-go REST SSE handler CVSS 4.0MEDIUM 6.9
- TI-2026-61722 HTTP response splitting in a2aproject a2a-java CVSS 4.0MEDIUM 6.9
- TI-2026-81185 Denial of service in a2aproject a2a-go Distributed Manager Cancel CVSS 4.0MEDIUM 6.9
- TI-2026-80567 Error message leaks sensitive information in a2a-go CreateExecutor CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-111765 · CVE Program
- CVE-2026-111765 · NVD
- FIRST EPSS
- GHSA-4fpj-g9jf-9rgg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences