A2A Java
Monthly
Credential leakage in the A2A Java SDK's Vert.x HTTP client transport can expose the caller's Authorization header and allowlisted API-key headers when a malicious, compromised, or mistyped agent endpoint returns a 30x response with an absolute cross-host Location and the application has explicitly enabled PostBuilder.followRedirects(true). Versions 1.3.2.Final through 1.4.0.Final are affected; the default followRedirects(false) configuration is not exploitable, and the sibling JDK and OkHttp/Android transports strip credentials on cross-authority redirects. The issue is fixed in 1.5.0.Final via PR #1255, and no public exploit code is referenced in the provided intelligence.
The A2A Java SDK core JDK HTTP client (a2a-java-sdk-http-client) follows cross-authority redirects on credentialed GET and DELETE requests when an application injects a redirect-capable JDK HttpClient (Redirect.NORMAL or Redirect.ALWAYS) - the SDK-documented way to enable POST redirects - and it forwards the four allowlisted custom credential headers (X-API-Key, API-Key, X-Auth-Token, X-Authentication) to the attacker-controlled authority, while the JDK still strips Authorization. Only versions 1.3.0.Final through 1.4.0.Final are affected and only in that non-default configuration, because the default client uses Redirect.NEVER and bearer-token deployments do not leak; the CVSS base is 7.5 from the reporter but the assessed vector is AC:H given the deployment prerequisites. The reporter published a self-contained PoC (JdkRedirectHeaderProbe.java) empirically confirmed on JDK 21, and maintainers fixed the path gap in 1.5.0.Final via PR #1257; there is no KEV listing and this is a this_week priority rather than an emergency.
Credential disclosure in the A2A Java SDK Android HTTP client versions 1.3.0.Final and 1.3.1.Final allows unauthenticated remote attackers to leak a configured API key or token to a different authority when a synchronous POST follows a cross-authority redirect. The root cause is a default followRedirects=true that overrides the disabled-redirect setting in AndroidA2AHttpClient.createConnection(), and AuthInterceptor-injected nonstandard headers (X-API-Key, API-Key, X-Auth-Token, X-Authentication) are retained by Android's repackaged OkHttp across redirects even though standard Authorization headers are stripped. No public exploit identified at time of analysis; the vendor-released patch is 1.3.2.Final, which sets the default to false.
Unauthenticated task-read disclosure in the A2A Java SDK before 1.3.0.Final lets any network caller retrieve another caller's task status, context ID, message history, and artifacts by supplying a task ID. The default no-argument InMemoryTaskStore constructor leaves authorizationProvider null, so InMemoryTaskStore.get(String taskId) returns stored tasks without any owner or caller check unless a TaskAuthorizationProvider is wired through the AuthorizationRequestHandlerDecorator - a wiring that manual DefaultRequestHandler.builder().build() setups and integrations such as Spring commonly skip. Because the default/reference transport endpoints also perform no authentication, the exposure is reachable without an account in multi-caller deployments; exploitation additionally requires the attacker to know or guess a valid task ID, and no public exploit code has been identified at time of analysis.
A race condition in the A2A Java SDK (a2aproject/a2a-java) at version 1.2.0.Final and earlier lets an authenticated, network-reachable client corrupt the state of a task by issuing overlapping state-changing requests for the same task id - most clearly two simultaneous cancel calls, or a cancel racing a concurrent completion - because the cancel path performs an unserialized check-then-act against the task store. Successful exploitation affects task-state integrity and availability (the task may be finalized on a stale view, and a synthesized failure event may be rejected once the task is already terminal), but exposes no confidentiality per the assessed vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L. Exploitation requires valid authenticated access plus precise timing against a shared task, so single-threaded or non-concurrent usage will not trigger it; no public exploit was identified at time of analysis, and vendor-released fix version 1.3.0.Final is available.
Unbounded registration of push notification configurations in a2a-java up to 1.2.0.Final allows an authorized caller to exhaust server resources. Because no per-task cap existed in the Push Notification Config Store (both the in-memory and JPA-database implementations), each new distinct config ID consumes memory or database rows and can trigger an outbound HTTP callback on every task event, degrading availability. Exploitation requires the privilege to invoke setInfo (CVSS PR:L, not anonymous), impact is availability-only, and no public exploit code was identified at time of analysis; this is a medium-severity resource-consumption issue rather than an emergency.
Unbounded memory growth in the a2a-java SDK's per-task ChildQueue lets a remote, low-privileged authenticated client exhaust server memory by enqueuing streaming events faster than a slow or stalled subscriber drains them, degrading availability of the affected a2a-java server. Versions up to and including 1.2.0.Final are affected; the flaw is CWE-400 resource consumption with a low availability-only impact and no data exposure. A vendor fix, PR #1040 (commit be663f806efcfdddd2805d214fae4998379ac5f2), ships in release 1.3.0.Final; no public exploit code was identified at time of analysis and no EPSS score was supplied.
Information exposure through error messages in a2aproject a2a-java up to 1.2.0.Final lets an attacker who can induce a server-side exception read raw internal exception text from the returned JSON-RPC or REST error payload. Affected deployments are those running the reference Quarkus JSON-RPC/REST routes or the gRPC transport, where the error handler built InternalError directly from the thrown exception's message; per the vendor vector the attacker holds low-level privileges (PR:L), although the real authentication bar depends on how the A2A server is exposed. Impact is limited to low confidentiality with no integrity or availability effect, there is no CISA KEV listing and no public exploit identified at time of analysis, and EPSS is 0.32% (24th percentile), consistent with a low-priority disclosure issue that is resolved by upgrading to 1.3.0.Final.
A2A Java SDK releases prior to 1.3.0.Final leak configured API key credentials to attacker-controlled third-party servers: the default JDK-based client trusts the header name declared in a remote agent's AgentCard and, because JdkA2AHttpClient follows cross-origin redirects, an agent-controlled redirect can carry that credential-bearing custom header to an arbitrary host even when the standard Authorization header is stripped. The issue is unauthenticated from the attacker's perspective (PR:N in the assessed CVSS:3.1 vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, scored 5.7), but exploitation is conditional: the client must use CredentialService to store an API key for the agent's APIKeySecurityScheme, must use the default JDK HTTP transport, and must connect to a malicious or compromised agent that controls both its AgentCard and its redirect response. Impact is confidentiality-only and scoped to the leaked credential; the fix is the vendor-released 1.3.0.Final, and no public exploit code or active exploitation (CISA KEV) was identified at time of analysis.
Cleartext credential disclosure in the A2A Java SDK prior to 1.3.0.Final writes push-notification bearer tokens and authentication credentials into server logs: when JsonFormat.parser().merge() throws InvalidProtocolBufferException, RestHandler.parseRequestBody logs the entire JSON request body at SEVERE level instead of just the error. The leak is reachable only when push notifications are enabled, via authenticated requests to /v1/tenants/{tenant}/tasks/{taskId}/pushNotificationConfigs whose token and authentication.credentials fields carry secrets for client push endpoints, and only when the body is valid JSON that fails protobuf deserialization (for example an unknown field under strict parsing or a schema mismatch). An actor with read access to the server logs or the log-aggregation/SIEM system can recover those credentials and use them to send forged task status updates to the client's push endpoint; the patch (1.3.0.Final) replaces the body dump with a logged body length, and no public exploit code was identified at time of analysis.
Server-side request forgery in the A2A Java SDK before 1.3.0.Final allows an unauthenticated caller to register an attacker-chosen push-notification destination and make the server send task updates to loopback, private, link-local, cloud-metadata, IPv6 unique-local, or multicast addresses where routing permits. Push notifications are enabled by default, and the vulnerable BasePushNotificationSender sends to the stored TaskPushNotificationConfig URL without scheme restrictions, destination validation, or redirect bounds, although the attack is blind because responses are discarded and delivery success is not exposed. No public exploit was identified at time of analysis; the issue is rated CVSS 5.8 (medium, CWE-918) and is fixed in 1.3.0.Final.
Missing authorization in the A2A Java SDK (a2aproject/a2a-java) 1.2.0 allows a caller with a valid account to invoke the ListTasks operation without the list-scoped read check that guards other task operations, so task listings are returned to principals that the configured TaskAuthorizationProvider may have intended to reject entirely. The flaw lives in AuthorizationRequestHandlerDecorator.onListTasks in server-common, which delegated to the handler without first consulting the authorization provider for the list scope, leaving protection to per-task filtering inside the TaskStore. It is fixed in release 1.3.0 (tag v1.3.0.Final, commit e9a1abf9c90c02b16d17293afdc3cc2f555d63a6); CVSS 4.0 base is 5.3, there is no CISA KEV listing and no public exploit code identified at time of analysis.
HTTP response splitting in a2a-java 1.2.0 allows attackers who control push notification authentication credentials to inject arbitrary HTTP headers by embedding CR/LF characters in the Authorization header assembled by `BasePushNotificationSender.dispatchNotification()`. The root cause is direct concatenation of client-supplied `scheme` and `credentials` fields into an outbound HTTP header without CRLF sanitization. No public exploit has been identified at time of analysis; vendor-confirmed patch is available as v1.3.0.Final.
Credential leakage in the A2A Java SDK's Vert.x HTTP client transport can expose the caller's Authorization header and allowlisted API-key headers when a malicious, compromised, or mistyped agent endpoint returns a 30x response with an absolute cross-host Location and the application has explicitly enabled PostBuilder.followRedirects(true). Versions 1.3.2.Final through 1.4.0.Final are affected; the default followRedirects(false) configuration is not exploitable, and the sibling JDK and OkHttp/Android transports strip credentials on cross-authority redirects. The issue is fixed in 1.5.0.Final via PR #1255, and no public exploit code is referenced in the provided intelligence.
The A2A Java SDK core JDK HTTP client (a2a-java-sdk-http-client) follows cross-authority redirects on credentialed GET and DELETE requests when an application injects a redirect-capable JDK HttpClient (Redirect.NORMAL or Redirect.ALWAYS) - the SDK-documented way to enable POST redirects - and it forwards the four allowlisted custom credential headers (X-API-Key, API-Key, X-Auth-Token, X-Authentication) to the attacker-controlled authority, while the JDK still strips Authorization. Only versions 1.3.0.Final through 1.4.0.Final are affected and only in that non-default configuration, because the default client uses Redirect.NEVER and bearer-token deployments do not leak; the CVSS base is 7.5 from the reporter but the assessed vector is AC:H given the deployment prerequisites. The reporter published a self-contained PoC (JdkRedirectHeaderProbe.java) empirically confirmed on JDK 21, and maintainers fixed the path gap in 1.5.0.Final via PR #1257; there is no KEV listing and this is a this_week priority rather than an emergency.
Credential disclosure in the A2A Java SDK Android HTTP client versions 1.3.0.Final and 1.3.1.Final allows unauthenticated remote attackers to leak a configured API key or token to a different authority when a synchronous POST follows a cross-authority redirect. The root cause is a default followRedirects=true that overrides the disabled-redirect setting in AndroidA2AHttpClient.createConnection(), and AuthInterceptor-injected nonstandard headers (X-API-Key, API-Key, X-Auth-Token, X-Authentication) are retained by Android's repackaged OkHttp across redirects even though standard Authorization headers are stripped. No public exploit identified at time of analysis; the vendor-released patch is 1.3.2.Final, which sets the default to false.
Unauthenticated task-read disclosure in the A2A Java SDK before 1.3.0.Final lets any network caller retrieve another caller's task status, context ID, message history, and artifacts by supplying a task ID. The default no-argument InMemoryTaskStore constructor leaves authorizationProvider null, so InMemoryTaskStore.get(String taskId) returns stored tasks without any owner or caller check unless a TaskAuthorizationProvider is wired through the AuthorizationRequestHandlerDecorator - a wiring that manual DefaultRequestHandler.builder().build() setups and integrations such as Spring commonly skip. Because the default/reference transport endpoints also perform no authentication, the exposure is reachable without an account in multi-caller deployments; exploitation additionally requires the attacker to know or guess a valid task ID, and no public exploit code has been identified at time of analysis.
A race condition in the A2A Java SDK (a2aproject/a2a-java) at version 1.2.0.Final and earlier lets an authenticated, network-reachable client corrupt the state of a task by issuing overlapping state-changing requests for the same task id - most clearly two simultaneous cancel calls, or a cancel racing a concurrent completion - because the cancel path performs an unserialized check-then-act against the task store. Successful exploitation affects task-state integrity and availability (the task may be finalized on a stale view, and a synthesized failure event may be rejected once the task is already terminal), but exposes no confidentiality per the assessed vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L. Exploitation requires valid authenticated access plus precise timing against a shared task, so single-threaded or non-concurrent usage will not trigger it; no public exploit was identified at time of analysis, and vendor-released fix version 1.3.0.Final is available.
Unbounded registration of push notification configurations in a2a-java up to 1.2.0.Final allows an authorized caller to exhaust server resources. Because no per-task cap existed in the Push Notification Config Store (both the in-memory and JPA-database implementations), each new distinct config ID consumes memory or database rows and can trigger an outbound HTTP callback on every task event, degrading availability. Exploitation requires the privilege to invoke setInfo (CVSS PR:L, not anonymous), impact is availability-only, and no public exploit code was identified at time of analysis; this is a medium-severity resource-consumption issue rather than an emergency.
Unbounded memory growth in the a2a-java SDK's per-task ChildQueue lets a remote, low-privileged authenticated client exhaust server memory by enqueuing streaming events faster than a slow or stalled subscriber drains them, degrading availability of the affected a2a-java server. Versions up to and including 1.2.0.Final are affected; the flaw is CWE-400 resource consumption with a low availability-only impact and no data exposure. A vendor fix, PR #1040 (commit be663f806efcfdddd2805d214fae4998379ac5f2), ships in release 1.3.0.Final; no public exploit code was identified at time of analysis and no EPSS score was supplied.
Information exposure through error messages in a2aproject a2a-java up to 1.2.0.Final lets an attacker who can induce a server-side exception read raw internal exception text from the returned JSON-RPC or REST error payload. Affected deployments are those running the reference Quarkus JSON-RPC/REST routes or the gRPC transport, where the error handler built InternalError directly from the thrown exception's message; per the vendor vector the attacker holds low-level privileges (PR:L), although the real authentication bar depends on how the A2A server is exposed. Impact is limited to low confidentiality with no integrity or availability effect, there is no CISA KEV listing and no public exploit identified at time of analysis, and EPSS is 0.32% (24th percentile), consistent with a low-priority disclosure issue that is resolved by upgrading to 1.3.0.Final.
A2A Java SDK releases prior to 1.3.0.Final leak configured API key credentials to attacker-controlled third-party servers: the default JDK-based client trusts the header name declared in a remote agent's AgentCard and, because JdkA2AHttpClient follows cross-origin redirects, an agent-controlled redirect can carry that credential-bearing custom header to an arbitrary host even when the standard Authorization header is stripped. The issue is unauthenticated from the attacker's perspective (PR:N in the assessed CVSS:3.1 vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, scored 5.7), but exploitation is conditional: the client must use CredentialService to store an API key for the agent's APIKeySecurityScheme, must use the default JDK HTTP transport, and must connect to a malicious or compromised agent that controls both its AgentCard and its redirect response. Impact is confidentiality-only and scoped to the leaked credential; the fix is the vendor-released 1.3.0.Final, and no public exploit code or active exploitation (CISA KEV) was identified at time of analysis.
Cleartext credential disclosure in the A2A Java SDK prior to 1.3.0.Final writes push-notification bearer tokens and authentication credentials into server logs: when JsonFormat.parser().merge() throws InvalidProtocolBufferException, RestHandler.parseRequestBody logs the entire JSON request body at SEVERE level instead of just the error. The leak is reachable only when push notifications are enabled, via authenticated requests to /v1/tenants/{tenant}/tasks/{taskId}/pushNotificationConfigs whose token and authentication.credentials fields carry secrets for client push endpoints, and only when the body is valid JSON that fails protobuf deserialization (for example an unknown field under strict parsing or a schema mismatch). An actor with read access to the server logs or the log-aggregation/SIEM system can recover those credentials and use them to send forged task status updates to the client's push endpoint; the patch (1.3.0.Final) replaces the body dump with a logged body length, and no public exploit code was identified at time of analysis.
Server-side request forgery in the A2A Java SDK before 1.3.0.Final allows an unauthenticated caller to register an attacker-chosen push-notification destination and make the server send task updates to loopback, private, link-local, cloud-metadata, IPv6 unique-local, or multicast addresses where routing permits. Push notifications are enabled by default, and the vulnerable BasePushNotificationSender sends to the stored TaskPushNotificationConfig URL without scheme restrictions, destination validation, or redirect bounds, although the attack is blind because responses are discarded and delivery success is not exposed. No public exploit was identified at time of analysis; the issue is rated CVSS 5.8 (medium, CWE-918) and is fixed in 1.3.0.Final.
Missing authorization in the A2A Java SDK (a2aproject/a2a-java) 1.2.0 allows a caller with a valid account to invoke the ListTasks operation without the list-scoped read check that guards other task operations, so task listings are returned to principals that the configured TaskAuthorizationProvider may have intended to reject entirely. The flaw lives in AuthorizationRequestHandlerDecorator.onListTasks in server-common, which delegated to the handler without first consulting the authorization provider for the list scope, leaving protection to per-task filtering inside the TaskStore. It is fixed in release 1.3.0 (tag v1.3.0.Final, commit e9a1abf9c90c02b16d17293afdc3cc2f555d63a6); CVSS 4.0 base is 5.3, there is no CISA KEV listing and no public exploit code identified at time of analysis.
HTTP response splitting in a2a-java 1.2.0 allows attackers who control push notification authentication credentials to inject arbitrary HTTP headers by embedding CR/LF characters in the Authorization header assembled by `BasePushNotificationSender.dispatchNotification()`. The root cause is direct concatenation of client-supplied `scheme` and `credentials` fields into an outbound HTTP header without CRLF sanitization. No public exploit has been identified at time of analysis; vendor-confirmed patch is available as v1.3.0.Final.