HighCVE-2026-111765

    A2aproject A2a-java: Insufficiently Protected Credentials (CVE-2026-111765)

    Published Last modified Sources: OSV, Hersteller, CVE.org

    What is affected, what to do

    Update org.a2aproject.sdk:a2a-java-sdk-http-client-android to version 1.3.2.Final.

    Affected
    • A2aproject A2a-java gte 1.3.0.Final, < 1.3.2.Final..*

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    7.5

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: Vendor (CNA), CVSS v3

    7.5

    CVSS v3

    Severity High on the scale from 0 to 10.

    Source: OSV, Hersteller, CVE.org

    0.7 %

    EPSS score

    Low — model estimates < 1% exploitation likelihood.

    Source: FIRST EPSS, percentile 51.6

    Show all metrics
    Severity
    High
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    88.76 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    no public PoC known
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    7.5 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    7.5
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    0.7 %
    Low — model estimates < 1% exploitation likelihood.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    51.6
    High — this CVE ranks above the median of all CVEs scored today (rank ≥ 36%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    —
    Published
    CWE

    CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.

    Read in glossary
    CWE-522

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    The GHSA-9rhm fix added this safe setting in AndroidA2AHttpClient.createConnection():

    connection.setInstanceFollowRedirects(false);
    

    The synchronous POST builder later overwrites it:

    private boolean followRedirects = true;
    
    public A2AHttpResponse post() throws IOException {
        HttpURLConnection connection = createConnection("POST", false);
        connection.setInstanceFollowRedirects(followRedirects);
        // ...
    }
    

    The second assignment wins. JSONRPCTransport and RestTransport both add interceptor-produced headers and call synchronous post() without setting followRedirects(false).

    On Android's repackaged OkHttp implementation, a cross-authority redirect strips Authorization but retains nonstandard request headers. AuthInterceptor permits four nonstandard authentication header names:

    X-API-Key
    API-Key
    X-Auth-Token
    X-Authentication
    

    I confirmed that the exact v1.3.1.Final Maven artifact forwards complete synthetic values under all four names to a second loopback authority. I also reproduced the supported AuthInterceptor to Android POST path. Explicitly calling followRedirects(false) returns the original 302 and produces no request to the collector.

    All test traffic stayed on two ephemeral 127.0.0.1 listeners. All credentials were synthetic FULCRUM-SYNTHETIC-* values.

    Reproduction

    I have attached AndroidA2AHttpClientRedirectTest.java. Copy it to:

    extras/http-client-android/src/test/java/org/a2aproject/sdk/client/http/android/
    

    Run:

    mvn -pl extras/http-client-android -am \
      -Dtest=AndroidA2AHttpClientRedirectTest \
      -Dsurefire.failIfNoSpecifiedTests=false test
    

    On unpatched current main, the default test fails with:

    Android synchronous POST must retain the documented no-redirect default
    expected: <302> but was: <200>
    

    The explicit followRedirects(true) control still passes.

    The separate exact-artifact fixture passed three consecutive runs. Its relevant output was:

    default status=200 x-api-key=FULCRUM-SYNTHETIC-DIRECT
    

    authorization=null method=GET control-followRedirects-false status=302 collectorHits=0 interceptor-chain status=200 x-api-key=FULCRUM-SYNTHETIC-INTERCEPTOR collectorHits=1 header-matrix name=X-API-Key forwarded=FULCRUM-SYNTHETIC-X-API-Key header-matrix name=API-Key forwarded=FULCRUM-SYNTHETIC-API-Key header-matrix name=X-Auth-Token forwarded=FULCRUM-SYNTHETIC-X-Auth-Token header-matrix name=X-Authentication forwarded=FULCRUM-SYNTHETIC-X-Authentication

    Impact and limitations

    The demonstrated impact is disclosure of a complete API key or authentication token to a different authority. I am not claiming subsequent use of the credential, integrity impact, availability impact, code execution, or host compromise.

    A fully malicious origin already receives the credential on the first request. The additional boundary matters most when redirect or front-door behavior is compromised separately from the component that handles request credentials, or when different parts of the origin operate in different trust domains.

    The 7.5 score applies to an autonomous client where no human action is needed after the remote endpoint returns the redirect. If the Android workflow requires a person to select or invoke the remote agent, UI:R gives a 6.5 score. I have kept both vectors because that deployment detail affects severity but not the underlying behavior. These are suggested scores, consistent with the policy's statement that actual CVSS depends on the specific deployment context. The same policy labels the parent credential-redirect property as moderate.

    Scope and prior art

    This path appears to fall directly under the project's current security model:

    1. extras/http-client-android and the client transports are listed as in scope.
    2. Remote AgentCard and response data are treated as attacker-relevant inputs.
    3. A malicious or compromised remote agent is part of the client-side adversary model.
    4. Section 8 says automatic redirects are disabled in all JDK, Vert.x, and Android implementations to prevent credential leakage.
    5. Section 13 defines a violation of a Section 8 property through the covered input and adversary as VALID.
    6. Section 13a lists missed call sites and under-strength mitigations as new findings after an incomplete fix.
    7. Section 14 records the original issue as fixed by disabling redirects across all HTTP client implementations. The Android synchronous path directly contradicts that recorded repair state.

    This report does not claim that an AgentCard SecurityScheme declaration enforces authentication. The application has already configured the credential, and the shipped AuthInterceptor places it in an allowed header. The failure is the Android client's default redirect behavior after that point. It does not depend on a custom SPI, an insecure configuration flag, a test-only component, server-side authentication, or any of the recurring non-findings listed in Section 11a.

    GHSA-9rhm is the direct parent finding. Its fix commit says redirects were disabled across all clients, but the Android POST-level override remains in 1.3.0.Final, 1.3.1.Final, and current main. I searched the public issues and pull requests on September 5 and found PR #1097, but no report covering this surviving synchronous Android path. The other three published advisories address server authorization defaults, push-notification SSRF, and credential logging. They do not cover this Android client path.

    Suggested fix

    The smallest compatible change is:

    - private boolean followRedirects = true;
    + private boolean followRedirects = false;
    

    This keeps followRedirects(true) available as an explicit opt-in. The attached regression passes three out of three times after the change. The Android module and its reactor dependencies pass 455 tests with no failures. The full repository test run passes 2,914 tests with no failures or errors. It reports 127 skips when using the project's documented -DskipDockerTests=true option inside the isolated build container.

    References

    Security property: https://github.com/a2aproject/a2a-java/blob/30e31086e24bea096b5f662088661269c9119100/SECURITY.md#L335-L342

    Triage and incomplete-fix rules: https://github.com/a2aproject/a2a-java/blob/30e31086e24bea096b5f662088661269c9119100/SECURITY.md#L547-L573

    Android documentation: https://github.com/a2aproject/a2a-java/blob/30e31086e24bea096b5f662088661269c9119100/docs/content/dev/security.md#L60-L74

    Safe connection setting and later POST override: https://github.com/a2aproject/a2a-java/blob/30e31086e24bea096b5f662088661269c9119100/extras/http-client-android/src/main/java/org/a2aproject/sdk/client/http/android/AndroidA2AHttpClient.java#L95-L114 https://github.com/a2aproject/a2a-java/blob/30e31086e24bea096b5f662088661269c9119100/extras/http-client-android/src/main/java/org/a2aproject/sdk/client/http/android/AndroidA2AHttpClient.java#L269-L300

    AuthInterceptor allowlist and credential injection: https://github.com/a2aproject/a2a-java/blob/30e31086e24bea096b5f662088661269c9119100/client/transport/spi/src/main/java/org/a2aproject/sdk/client/transport/spi/interceptors/auth/AuthInterceptor.java#L33-L46 https://github.com/a2aproject/a2a-java/blob/30e31086e24bea096b5f662088661269c9119100/client/transport/spi/src/main/java/org/a2aproject/sdk/client/transport/spi/interceptors/auth/AuthInterceptor.java#L85-L90

    Parent advisory and fix: https://github.com/a2aproject/a2a-java/security/advisories/GHSA-9rhm-2h4x-jwmx https://github.com/a2aproject/a2a-java/commit/2a36530d75e11bcf9b81f543464dbe193ca6478e

    Android redirect implementation: https://android.googlesource.com/platform/external/okhttp/+/05b3c271102f7e16bd772dd8a9dab5c6b1424c24/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/HttpEngine.java#900

    Source: OSV (Open Source Vulnerabilities), GitHub Security Advisories, NVD (NIST), cvelistv5

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    VendorProductAffected versionsFixed in
    a2aprojecta2a-java
    • ≥ 1.3.0.Final, < 1.3.2.Final
    • —
    mavenorg.a2aproject.sdk:a2a-java-sdk-http-client-android
    • 1.3.1.Final
    • >= 1.3.0.Final, <= 1.3.1.Final
    • 1.3.0.Final
    • —
    • 1.3.2.Final
    • 1.3.2.Final

    Weakness classes (CWE)

    • CWE-522Insufficiently Protected Credentials

      Class

      The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.

      Entry at MITRE CWE-522

    References & sources

    • github.coma2aproject/a2a-java/blob/30e31086e24bea096b5f662088661269c91191…x_refsource_MISC, web
    • github.coma2aproject/a2a-java/commit/2a36530d75e11bcf9b81f543464dbe193ca6…x_refsource_MISC, web
    • github.coma2aproject/a2a-java/commit/3ae82912a106a6765d7b78042b0ef96e6c2e…x_refsource_MISC, web
    • github.coma2aproject/a2a-java/pull/1141x_refsource_MISC, web
    • github.coma2aproject/a2a-java/releases/tag/v1.3.2.Finalx_refsource_MISC, web
    • github.coma2aproject/a2a-java/security/advisories/GHSA-4fpj-g9jf-9rggx_refsource_CONFIRM, web
    • github.coma2aproject/a2a-java/security/advisories/GHSA-9rhm-2h4x-jwmxx_refsource_MISC, web
    • NVD (NIST)vuln/detail/CVE-2026-111765advisory
    • github.coma2aproject/a2a-javapackage

    Reanalysis & status changes

    Chronological NVD audit events for this CVE — reanalyses, CVSS updates, CPE diffs.

    1. CVE Modified134c704f-9b21-4f2e-91b3-4a467353bcc0

      • Reference: after https://github.com/a2aproject/a2a-java/security/advisories/GHSA-4fpj-g9jf-9rgg
      • SSVC: after {"id":"CVE-2026-111765","role":"CISA Coordinator","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technical…
    2. New CVE Receivedsecurity-advisories@github.com

      • Description: after A2A Java SDK is the official Java SDK for the Agent2Agent (A2A) Protocol. Starting in version 1.3.0.Final and prior to version 1.3.2.Final, the AndroidA2AHttpClient synchronous POST path overrides the disabled-redirect setting in AndroidA2AHttpClient.createConnection() with the PostBuilder default followRedirects value of true, leaving a residual of the earlier credential-redirect fix. JSONRPCTransport and RestTransport add interceptor-produced authentication headers and call synchronous post() without disabling redirects. AuthInterceptor permits X-API-Key, API-Key, X-Auth-Token, and X-Authentication headers; Android's repackaged OkHttp strips Authorization on cross-authority redirects but retains these nonstandard headers, disclosing a complete configured API key or token to another authority. The additional exposure applies when redirect or front-door behavior is compromised separately from the credential-handling component, or those components operate in different trust domains; a completely malicious initial origin already receives the credential on the first request. Autonomous clients require no human action, while user-invoked workflows can require interaction. Explicit followRedirects(false) prevents the redirected request. The demonstrated impact is credential disclosure, not subsequent credential use, integrity or availability impact, code execution, or host compromise. This issue is fixed in version 1.3.2.Final.
      • CVSS V3.1: after AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
      • CWE: after CWE-522
      • Affected: after New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/111xxx/CVE-2026-111765.json">CVE-2026-111765</a>
    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2026-111765
    <a href="https://intel.neosec.eu/en/cve/CVE-2026-111765"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-111765.svg?lang=en" alt="CVE-2026-111765 – NEOSEC Intel" height="20"></a>