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

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

CVE-2026-113706 is an information disclosure vulnerability in a2aproject a2a-rs affecting versions up to 0.4.3. Remote attackers can exploit the historyLength argument to access sensitive data. This article covers technical details, affected versions, impact assessment, and available mitigation strategies.

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-113706 Overview

A vulnerability in a2aproject a2a-rs versions up to 0.4.3 allows remote attackers to trigger information disclosure through manipulation of the historyLength argument. The flaw resides in an unknown function within the a2a-server/src/task_store/inmemory.rs file. The weakness is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor. The maintainers addressed the issue in commit 68f1b7e772ae5d6c9e581ac9b48bcddd10fe70eb, which also hardens validation of list-task inputs including status, pageSize, and pageToken.

Critical Impact

Remote attackers with low privileges can abuse unvalidated list parameters in the a2a-rs server to retrieve task history or paginated data beyond intended limits, resulting in information disclosure.

Affected Products

  • a2aproject a2a-rs up to and including version 0.4.3
  • a2a-server component (a2a-server/src/task_store/inmemory.rs)
  • Deployments exposing the a2a-rs server over the network

Discovery Timeline

  • 2026-10-21 - CVE-2026-113706 published to NVD
  • 2026-10-21 - Last updated in NVD database

Technical Details for CVE-2026-113706

Vulnerability Analysis

The vulnerability is an information disclosure issue [CWE-200] in the in-memory task store of the a2a-rs server. The affected code path handles list operations where the historyLength argument controls how many historical records are returned. Because the server does not sufficiently validate or cap this input, a remote caller can request unintended quantities of history data. Related list-task inputs such as status, pageSize, and pageToken were also missing proper validation, which the patch addresses by rejecting invalid tokens and capping page size.

Root Cause

The root cause is missing input validation on request parameters that govern list and pagination behavior. The pre-patch handler accepted any positive page_size directly, parsed page_token with and_then(...ok()).unwrap_or(0) so that malformed tokens were silently coerced to zero, and accepted arbitrary status strings. The absence of bounds and type checks on these fields, combined with unbounded historyLength handling, enables an authenticated remote caller to retrieve more data than the API intends to expose.

Attack Vector

Exploitation occurs remotely over the network against the a2a-rs server endpoint. An attacker with low privileges submits a crafted list request with an oversized or manipulated historyLength, pageSize, or pageToken value. Because the server previously did not enforce caps or validate token formatting, the response can include task history or paginated records that should not have been returned to that caller.

rust
// Security patch (a2a-server/src/handler.rs) — validates pageSize and pageToken
let mut configs = self.push_config_store_checked()?.list(&req.task_id).await?;
configs.sort_by(|left, right| left.id.cmp(&right.id));

// Cap the page size (max 100, default 50) like the task list path.
let page_size = match req.page_size {
    Some(size) if size > 0 => (size as usize).min(100),
    _ => 50,
};
let start = if let Some(ref token) = req.page_token {
    token
        .parse::<usize>()
        .map_err(|_| A2AError::invalid_params("invalid page token"))?
} else {
    0
};
let start = start.min(configs.len());
let end = (start + page_size).min(configs.len());
let next_page_token = (end < configs.len()).then(|| end.to_string());

Source: GitHub Commit 68f1b7e

rust
// Security patch (a2a-server/src/rest.rs) — rejects invalid status filters
let status = match query.status {
    Some(s) => match serde_json::from_value::<TaskState>(serde_json::Value::String(s)) {
        Ok(state) => Some(state),
        Err(_) => {
            return rest_error_response(A2AError::invalid_params("invalid status filter"));
        }
    },
    None => None,
};
let req = ListTasksRequest {
    context_id: query.context_id,
    status,

Source: GitHub Commit 68f1b7e

Detection Methods for CVE-2026-113706

Indicators of Compromise

  • Server logs showing list-task requests with unusually large historyLength or pageSize values
  • Requests containing non-numeric or malformed pageToken values that previously would have been silently coerced to zero
  • Repeated list queries from the same low-privilege principal enumerating task identifiers

Detection Strategies

  • Instrument the a2a-rs server to log all list-task parameters (historyLength, pageSize, pageToken, status) and alert on outliers.
  • Baseline normal pagination behavior per client and flag deviations exceeding the default page size of 50 or new maximum of 100.
  • Correlate repeated enumeration patterns with authenticated user identities to identify abuse of low-privilege accounts.

Monitoring Recommendations

  • Forward a2a-rs application logs to a centralized analytics platform for query-based detection of parameter abuse.
  • Monitor response sizes from list endpoints and alert when payloads deviate significantly from historical norms.
  • Track A2AError::invalid_params errors post-patch to identify clients attempting malformed requests.

How to Mitigate CVE-2026-113706

Immediate Actions Required

  • Upgrade a2aproject a2a-rs to a version containing commit 68f1b7e772ae5d6c9e581ac9b48bcddd10fe70eb or later.
  • Audit which principals have access to the a2a-rs server and revoke unnecessary low-privilege accounts.
  • Review recent list-task request logs for anomalous historyLength or pageSize values.

Patch Information

The maintainers merged the fix in Pull Request #122 via commit 68f1b7e772ae5d6c9e581ac9b48bcddd10fe70eb. The patch caps pageSize at 100 with a default of 50, returns invalid_params errors for malformed pageToken values, and validates status filters. Additional details are available on the VulDB entry for CVE-2026-113706.

Workarounds

  • Place the a2a-rs server behind an API gateway or reverse proxy that enforces maximum values on historyLength and pageSize query parameters.
  • Restrict network exposure of the a2a-rs server to trusted clients only via network ACLs or mTLS.
  • Apply rate limiting on list-task endpoints to reduce the feasibility of enumeration.
bash
# Example nginx snippet to cap pageSize and reject oversized history requests
location /tasks {
    if ($arg_pageSize ~* "^[0-9]{4,}$") { return 400; }
    if ($arg_historyLength ~* "^[0-9]{4,}$") { return 400; }
    limit_req zone=a2a_list burst=10 nodelay;
    proxy_pass http://a2a_backend;
}

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.