A2A Java SDK send client credentials under server-controlled HTTP header name, enabling leakage via redirect
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| a2aproject | a2a-java | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| A2aproject | A2a-java |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-9rhm-2h4x-jwmx | A2A Java SDK send client credentials under server-controlled HTTP header name, enabling leakage via redirect |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.141% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
A2aproject
A2aproject a2a-java |
|
| Vendors & Products |
A2aproject
A2aproject a2a-java |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | A2A Java SDK send client credentials under server-controlled HTTP header name, enabling leakage via redirect | |
| Weaknesses | CWE-522 | |
| References |
|
|
| Metrics |
cvssV4_0
|