Skip to main content
Vulnerability Database/CVE-2026-113705

CVE-2026-113705: a2a-rs Information Disclosure Vulnerability

CVE-2026-113705 is an information exposure vulnerability in a2aproject a2a-rs affecting error.rs file handling. Attackers can remotely exploit this flaw to access sensitive data through error messages. This article covers technical details, affected versions up to 0.4.3, impact analysis, and available patches.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-113705 Overview

CVE-2026-113705 affects the a2aproject a2a-rs library versions up to and including 0.4.3. The vulnerability resides in a2a-server/src/error.rs and allows information exposure through verbose internal error messages returned to remote clients. The flaw is categorized as [CWE-200] Exposure of Sensitive Information to an Unauthorized Actor. An unauthenticated remote attacker can trigger internal server errors to receive raw error details that may include implementation specifics or sensitive runtime state. The upstream project addressed the issue with commit 713b943af94ab2d521d483b841618b97a2e78a4d, which introduces a sanitized_internal_error helper.

Critical Impact

Remote, unauthenticated attackers can harvest internal error details from an a2a-rs JSON-RPC server, aiding reconnaissance and follow-on exploitation.

Affected Products

  • a2aproject a2a-rs versions up to 0.4.3
  • a2a-server crate (a2a-server/src/error.rs, jsonrpc.rs, handler.rs)
  • Downstream applications embedding the vulnerable a2a-server component

Discovery Timeline

  • 2026-10-20 - CVE-2026-113705 published to NVD
  • 2026-10-21 - Last updated in NVD database
  • Patch commit - 713b943af94ab2d521d483b841618b97a2e78a4d merged via GitHub Pull Request #127

Technical Details for CVE-2026-113705

Vulnerability Analysis

The a2a-rs server exposes a JSON-RPC interface. When internal failures occur, the server previously returned the raw internal error message directly to the remote caller. Attackers can intentionally trigger error paths (for example, by lagging a broadcast subscription or sending malformed requests) to receive descriptive messages that disclose server-side state, component names, or implementation details. The patch introduces sanitized_internal_error, which replaces verbose text with a generic message at the raise site, while preserving validation errors like task not found that are safe to return to clients. The maintainers moved sanitization from the response boundary into the error-generation call sites so that executor-reported failures no longer get rewritten and genuine server faults are redacted.

Root Cause

The A2AError::internal constructor accepted arbitrary strings and the JSON-RPC boundary serialized them unchanged into responses. There was no distinction between an executor's own failure report and a server fault, so sensitive internal diagnostics flowed to any remote caller that could trigger them.

Attack Vector

Exploitation requires only network access to the a2a-server JSON-RPC endpoint. No authentication, user interaction, or elevated privileges are required. An attacker crafts requests that force internal error paths and reads the returned error.message field to collect server internals.

rust
// Patch excerpt: a2a-server/src/handler.rs
                     Err(broadcast::error::RecvError::Lagged(_)) => {
                         state.done = true;
                         return Some((
-                            Err(A2AError::internal(
+                            Err(crate::sanitized_internal_error(
                                 "subscription fell behind active execution",
                             )),
                             state,

Source: GitHub Commit 713b943

rust
// Patch excerpt: a2a-server/src/jsonrpc.rs test documenting the new boundary behavior
    #[tokio::test]
    async fn test_error_response_boundary_does_not_rewrite_internal_errors() {
        // The boundary no longer sanitizes: an INTERNAL_ERROR keeps its
        // message, since the boundary cannot tell an executor's own failure
        // report from a server fault. Sanitization happens at the raise site
        // via `sanitized_internal_error`.
        let resp = error_response(JsonRpcId::Number(1), A2AError::internal("boom details"));
        let body = resp.into_body().collect().await.unwrap().to_bytes();
        let rpc_resp: JsonRpcResponse = serde_json::from_slice(&body).unwrap();
        let error = rpc_resp.error.unwrap();
        assert_eq!(error.code, error_code::INTERNAL_ERROR);
        assert_eq!(error.message, "boom details");

        // Non-internal errors keep their message (client-validation feedback).
        let resp = error_response(JsonRpcId::Number(1), A2AError::task_not_found("t1"));
        let body = resp.into_body().collect().await.unwrap().to_bytes();
        let rpc_resp: JsonRpcResponse = serde_json::from_slice(&body).unwrap();
        assert_eq!(rpc_resp.error.unwrap().message, "task not found: t1");
    }

Source: GitHub Commit 713b943

Detection Methods for CVE-2026-113705

Indicators of Compromise

  • JSON-RPC responses from a2a-server carrying error.code = -32603 (INTERNAL_ERROR) with verbose, non-sanitized error.message strings.
  • Repeated client requests designed to force internal failures, such as rapid subscription churn producing subscription fell behind active execution messages.
  • Unexplained spikes in 4xx/5xx responses from the a2a-server endpoint followed by targeted follow-on requests.

Detection Strategies

  • Inspect application logs for internal error messages that leak implementation detail and correlate them with the originating remote IPs.
  • Deploy an egress response filter or reverse proxy rule that flags JSON-RPC INTERNAL_ERROR payloads whose message does not match a known sanitized phrase.
  • Add integration tests that assert sanitized messages at the client boundary before promoting a2a-server builds.

Monitoring Recommendations

  • Capture full request/response pairs for the JSON-RPC endpoint and ship them to a centralized log store for anomaly review.
  • Alert on sustained request volume to the a2a-server endpoint from a single source combined with elevated internal-error rates.
  • Track the deployed a2a-rs version through SBOM tooling to confirm hosts receive the patched release.

How to Mitigate CVE-2026-113705

Immediate Actions Required

  • Upgrade a2a-rs beyond version 0.4.3 to a release that includes commit 713b943af94ab2d521d483b841618b97a2e78a4d.
  • Audit custom error paths in downstream code to ensure they call sanitized_internal_error rather than A2AError::internal with raw details.
  • Restrict network exposure of the a2a-server JSON-RPC endpoint to trusted clients until the patch is deployed.

Patch Information

The fix is tracked in GitHub Pull Request #127 and committed as 713b943af94ab2d521d483b841618b97a2e78a4d. The patch adds a sanitized_internal_error helper and migrates known error raise sites to use it. Additional background is available at VulDB CVE-2026-113705 and the a2aproject a2a-rs repository.

Workarounds

  • Front the a2a-server endpoint with a reverse proxy that rewrites JSON-RPC INTERNAL_ERROR responses to a static generic message.
  • Enforce authentication and IP allowlisting on the JSON-RPC endpoint so untrusted callers cannot probe error paths.
  • Reduce log verbosity returned to clients by wrapping A2AError::internal calls in a local helper that redacts message content.
bash
# Update Cargo.toml to pull the patched release once published, then rebuild
cargo update -p a2a-server
cargo build --release

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.