Vulnerabilities in pkg:maven/org.a2aproject.sdk/a2a-java-sdk-parent

PACKAGE
Advisory Identifier: GHSA-9rhm-2h4x-jwmx
Advisory Summary

CVE-2026-111763 is a MODERATE a2a java sdk send client vulnerability (CWE-522: Insufficiently Protected Credentials) affecting A2a java sdk parent libraries in the Maven ecosystem. The issue involves a2a java sdk send client credentials under server-controlled http header name, enabling leakage via redirect. Remediation is available by upgrading affected packages to version 1.3.0.Final.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.a2aproject.sdk/a2a-java-sdk-parent

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.a2aproject.sdk/a2a-java-sdk-parent. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-9rhm-2h4x-jwmx CVE-2026-111763 MODERATE A2A Java SDK send client credentials under server-controlled HTTP header name, enabling leakage via redirect

CVE-2026-111763 at a Glance

CVE Identifier CVE-2026-111763
GHSA Identifier GHSA-9rhm-2h4x-jwmx
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product A2a java sdk parent
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-111763

To remediate this vulnerability, upgrade all affected A2a java sdk parent dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.a2aproject.sdk:a2a-java-sdk-parent fixed: 1.3.0.Final
<dependency>
    <groupId>org.a2aproject.sdk</groupId>
    <artifactId>a2a-java-sdk-parent</artifactId>
    <version>1.3.0.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.a2aproject.sdk

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-111763, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.a2aproject.sdk

Analyze the terminal output to locate any version of A2a java sdk parent in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.0.Final), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.a2aproject.sdk command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In A2a java sdk parent, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

*Impact.** A malicious or compromised A2A agent can cause the client's API key credential to be forwarded to an arbitrary third-party server. The agent serves an AgentCard with an `APIKeySecurityScheme` specifying a custom header name, then responds with an HTTP redirect. The JDK HttpClient follows the redirect and forwards the custom header containing the credential, since only the standard `Authorization` header may be stripped on cross-origin redirects. **Where.** `client/transport/spi/src/main/java/org/a2aproject/sdk/client/transport/spi/interceptors/auth/AuthInterceptor.java:69` in `intercept` **What.** The `apiKeySecurityScheme.name()` field from the remote agent's AgentCard (untrusted, server-controlled data) is used directly as the HTTP header name when placing client credentials. Combined with `JdkA2AHttpClient`'s `followRedirects(NORMAL)` policy, credentials under custom header names survive cross-origin redirects (only `Authorization` is stripped on newer JDKs), allowing a malicious agent to leak client credentials to third-party servers. Additionally, `AuthInterceptor` does not check that `location==HEADER` before placing the credential as a header. **Exploit scenario.** Client configures an API key credential for agent's security scheme `myAuth`. The malicious agent returns an AgentCard where `securitySchemes` includes `myAuth` as `APIKeySecurityScheme` with `name='X-Leaked-Cred'` and `location=HEADER`. `AuthInterceptor` places the credential in the `X-Leaked-Cred` header. The agent responds with HTTP 302 redirect to `https://evil.com/collect`. `JdkA2AHttpClient` follows the redirect, forwarding all custom headers including `X-Leaked-Cred` to `evil.com`. The attacker captures the client's credential. **Preconditions.** - Client application has configured API key credentials via `CredentialService` for the agent's security scheme - The agent is malicious or compromised (controls its own AgentCard response) - The default `JdkA2AHttpClient` is used (with `followRedirects=NORMAL`) - The JDK version does not strip custom headers on cross-origin redirects (all current versions) **Fix.** Validate the `APIKeySecurityScheme.name()` field against a whitelist of safe header names. Check that `apiKeySecurityScheme.location()` equals `Location.HEADER` before placing the credential as a header. Consider using `followRedirects(NEVER)` and implementing manual redirect handling that strips all authentication headers on cross-origin redirects. **Verification.** 2/3 lens verifiers confirmed.

CVE-2026-111763 Affected A2a java sdk parent Versions

1 component(s)
Fixed Versions:
1.3.0.Final
Product / Package Ecosystem Affected Versions Fixed Version
org.a2aproject.sdk:a2a-java-sdk-parent
Maven
< 1.3.0.Final
1.3.0.Final

References

Frequently Asked Questions

What is CVE-2026-111763?
CVE-2026-111763 is a security vulnerability in A2a java sdk parent involving A2A Java SDK send client credentials under server-controlled HTTP header name, enabling leakage via redirect under CWE-522: Insufficiently Protected Credentials.
Which A2a java sdk parent versions are affected?
Affected versions include releases prior to 1.3.0.Final across affected packages: org.a2aproject.sdk:a2a-java-sdk-parent.
What version fixes CVE-2026-111763?
Upgrading to 1.3.0.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is a2a-java-sdk-parent affected?
Yes, org.a2aproject.sdk:a2a-java-sdk-parent is affected in releases prior to 1.3.0.Final. Upgrade your dependency to 1.3.0.Final or later.
What CWE is associated with CVE-2026-111763?
CVE-2026-111763 is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check Maven dependencies for CVE-2026-111763?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.a2aproject.sdk'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9rhm-2h4x-jwmx",
  "modified" : "2026-10-20T21:04:16Z",
  "published" : "2026-10-20T21:04:16Z",
  "aliases" : [ "CVE-2026-111763" ],
  "summary" : "A2A Java SDK send client credentials under server-controlled HTTP header name, enabling leakage via redirect",
  "details" : "*Impact.** A malicious or compromised A2A agent can cause the client's API key credential to be forwarded to an arbitrary third-party server. The agent serves an AgentCard with an `APIKeySecurityScheme` specifying a custom header name, then responds with an HTTP redirect. The JDK HttpClient follows the redirect and forwards the custom header containing the credential, since only the standard `Authorization` header may be stripped on cross-origin redirects.\n\n**Where.** `client/transport/spi/src/main/java/org/a2aproject/sdk/client/transport/spi/interceptors/auth/AuthInterceptor.java:69` in `intercept`\n\n**What.** The `apiKeySecurityScheme.name()` field from the remote agent's AgentCard (untrusted, server-controlled data) is used directly as the HTTP header name when placing client credentials. Combined with `JdkA2AHttpClient`'s `followRedirects(NORMAL)` policy, credentials under custom header names survive cross-origin redirects (only `Authorization` is stripped on newer JDKs), allowing a malicious agent to leak client credentials to third-party servers. Additionally, `AuthInterceptor` does not check that `location==HEADER` before placing the credential as a header.\n\n**Exploit scenario.** Client configures an API key credential for agent's security scheme `myAuth`. The malicious agent returns an AgentCard where `securitySchemes` includes `myAuth` as `APIKeySecurityScheme` with `name='X-Leaked-Cred'` and `location=HEADER`. `AuthInterceptor` places the credential in the `X-Leaked-Cred` header. The agent responds with HTTP 302 redirect to `https://evil.com/collect`. `JdkA2AHttpClient` follows the redirect, forwarding all custom headers including `X-Leaked-Cred` to `evil.com`. The attacker captures the client's credential.\n\n**Preconditions.**\n- Client application has configured API key credentials via `CredentialService` for the agent's security scheme\n- The agent is malicious or compromised (controls its own AgentCard response)\n- The default `JdkA2AHttpClient` is used (with `followRedirects=NORMAL`)\n- The JDK version does not strip custom headers on cross-origin redirects (all current versions)\n\n**Fix.** Validate the `APIKeySecurityScheme.name()` field against a whitelist of safe header names. Check that `apiKeySecurityScheme.location()` equals `Location.HEADER` before placing the credential as a header. Consider using `followRedirects(NEVER)` and implementing manual redirect handling that strips all authentication headers on cross-origin redirects.\n\n**Verification.** 2/3 lens verifiers confirmed.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.a2aproject.sdk:a2a-java-sdk-parent"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.3.0.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/a2aproject/a2a-java/security/advisories/GHSA-4fpj-g9jf-9rgg"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/a2aproject/a2a-java/security/advisories/GHSA-9rhm-2h4x-jwmx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-111763"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/a2aproject/a2a-java/pull/1097"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/a2aproject/a2a-java/commit/2a36530d75e11bcf9b81f543464dbe193ca6478e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/a2aproject/a2a-java"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/a2aproject/a2a-java/releases/tag/v1.3.0.Final"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-522" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-20T21:04:16Z",
    "nvd_published_at" : "2026-10-20T16:17:00Z"
  }
}