Katalog CVE

CVE-2026-111763

ŚrednieCVSS 5.7
Opublikowano: Przetłumaczono: NVD NIST

Streszczenie

A2A Java SDK przed wersją 1.3.0.Final pozwala złośliwemu lub przejętemu zdalnemu agentowi spowodować, że domyślny klient oparty na JDK przekaże skonfigurowany klucz API do serwera strony trzeciej. AuthInterceptor używa nazwy z APIKeySecurityScheme.name() z zdalnego AgentCard jako nazwy nagłówka HTTP bez sprawdzenia, że zadeklarowana lokalizacja to HEADER, a JdkA2AHttpClient stosuje followRedirects(NORMAL), więc przekierowanie cross-origin kontrolowane przez agenta przenosi nagłówek z poświadczeniami.

Ocena ryzyka

Klucz API skonfigurowany dla agenta może zostać ujawniony stronie trzeciej, co może prowadzić do nieautoryzowanego dostępu do usług. Ryzyko dotyczy aplikacji klienckich używających A2A Java SDK z skonfigurowanymi poświadczeniami API key.

Rekomendacja

Zaktualizuj A2A Java SDK do wersji 1.3.0.Final lub nowszej. Unikaj konfigurowania kluczy API dla niezaufanych agentów i rozważ ograniczenie przekierowań.

Inne podatności w A2A Java SDK

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS