CVE Catalog

CVE-2026-111763

MediumCVSS 5.7
Published: Translated: NVD NIST

Summary

A2A Java SDK prior to 1.3.0.Final allows a malicious or compromised remote agent to cause the default JDK-based client to forward a configured API key to a third-party server. AuthInterceptor uses APIKeySecurityScheme.name() from the remote AgentCard as the HTTP header name without checking that the declared location is HEADER, and JdkA2AHttpClient uses followRedirects(NORMAL), so an agent-controlled cross-origin redirect forwards the credential-bearing header.

Risk Assessment

An API key configured for the agent may be disclosed to a third party, potentially leading to unauthorized access to services. The risk affects client applications using A2A Java SDK with configured API key credentials.

Recommendation

Update A2A Java SDK to version 1.3.0.Final or later. Avoid configuring API keys for untrusted agents and consider restricting redirects.

Other vulnerabilities in A2A Java SDK

See all
Original NVD description (English source)

A2A Java SDK is the official Java SDK for the Agent2Agent (A2A) Protocol. Prior to 1.3.0.Final, a malicious or compromised remote agent can cause the default JDK-based client to forward a configured API key to a third-party server. When a client application configures credentials through `CredentialService`, `AuthInterceptor.intercept` in `client/transport/spi/src/main/java/org/a2aproject/sdk/client/transport/spi/interceptors/auth/AuthInterceptor.java` uses `APIKeySecurityScheme.name()` from the remote AgentCard directly as the HTTP header name containing the credential, without checking that the declared location is HEADER. JdkA2AHttpClient uses followRedirects(NORMAL), so an agent-controlled cross-origin redirect forwards the custom credential-bearing header even when the standard Authorization header is stripped. The attack requires configured API key credentials for the agent's security scheme and control of the agent's AgentCard and redirect response, but no additional client privileges. This issue is fixed in version 1.3.0.Final.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS