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

CVE-2026-113704: a2a-rs Push Notification SSRF Vulnerability

CVE-2026-113704 is a server-side request forgery flaw in a2a-rs affecting the HttpPushSender function in push notification handling. Attackers can manipulate TaskPushNotificationConfig to forge requests. This article covers technical details, affected versions through 0.4.3, and patching guidance.

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

CVE-2026-113704 is a server-side request forgery (SSRF) vulnerability in the a2aproject a2a-rs library through version 0.4.3. The flaw resides in the HttpPushSender function within crates/server/src/push_notification_sender.rs, part of the Push Notification Handler component. Attackers can manipulate the TaskPushNotificationConfig argument to coerce the server into issuing arbitrary outbound HTTP requests. The weakness is remotely exploitable without authentication or user interaction. The maintainers merged a fix in commit 2ba50176ea9f222d9a7d0f0e8cfe6fae7cf4c224, delivered through pull request #124.

Critical Impact

Unauthenticated remote attackers can abuse the push notification sender to probe internal networks, reach cloud metadata endpoints, or inject CRLF payloads into outbound requests.

Affected Products

  • a2aproject a2a-rs versions up to and including 0.4.3
  • HttpPushSender component in crates/server/src/push_notification_sender.rs
  • Downstream Rust services embedding the a2a-rs push notification handler

Discovery Timeline

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

Technical Details for CVE-2026-113704

Vulnerability Analysis

The vulnerability is a classic server-side request forgery (SSRF) tracked under [CWE-918]. The HttpPushSender function trusted the destination URL supplied inside TaskPushNotificationConfig without validating the target host or scheme. Because the push subsystem performs outbound HTTP calls on behalf of the server, an attacker who can register or modify a push notification config controls where the server connects.

The scope reaches beyond basic SSRF. The upstream patch also hardens against CRLF injection in credential headers and introduces per-target controls. This indicates that the pre-patch code concatenated user-controlled values into outbound requests without sanitization, enabling header smuggling in addition to URL redirection.

Root Cause

The root cause is missing URL validation inside HttpPushSender. The Rust server accepted any string the client provided as a push callback target and then issued HTTP requests against it. There was no allowlist, no scheme restriction, no loopback or private-range check, and no sanitization of credential components embedded in the URL.

Attack Vector

An unauthenticated remote attacker submits a crafted TaskPushNotificationConfig referencing an internal or sensitive URL. The server then performs the HTTP request from its own network position. Operators can abuse this to reach cloud metadata services such as 169.254.169.254, probe internal admin consoles, or exfiltrate credentials by routing requests through attacker-controlled hosts.

rust
// Patch excerpt from a2a-server/src/handler.rs
fn make_push_delivery_handler() -> DefaultRequestHandler {
    // URL validation is disabled because the test webhook runs on
    // 127.0.0.1; the default HttpPushSender rejects loopback targets.
    DefaultRequestHandler::new(PushEventExecutor, InMemoryTaskStore::new())
        .with_push_notifications(
            InMemoryPushConfigStore::new(),
            crate::HttpPushSender::new(Some(crate::HttpPushSenderConfig {
                validate_urls: false,
                ..Default::default()
            })),
        )
}

Source: GitHub Commit 2ba50176

The patch introduces HttpPushSenderConfig with a validate_urls flag defaulting to true. The default sender now rejects loopback and private-range destinations and sanitizes CRLF sequences in credential fields.

rust
// Patch excerpt from a2a-server/src/lib.rs
-pub use push::{HttpPushSender, InMemoryPushConfigStore, PushConfigStore};
+pub use push::{HttpPushSender, HttpPushSenderConfig, InMemoryPushConfigStore, PushConfigStore};

Source: GitHub Commit 2ba50176

Detection Methods for CVE-2026-113704

Indicators of Compromise

  • Outbound HTTP requests from the a2a-rs service to RFC1918 addresses, loopback, or link-local ranges such as 169.254.169.254.
  • Push notification configuration entries whose URLs reference internal hostnames, raw IP literals, or non-HTTPS schemes.
  • Request logs containing CRLF sequences (%0d%0a or raw \r\n) inside credential or authorization fields.

Detection Strategies

  • Inspect TaskPushNotificationConfig submissions for URLs targeting non-public destinations and alert on anomalies.
  • Correlate egress traffic from the application host with the set of approved webhook domains, flagging deviations.
  • Review audit logs for push configuration create and update calls originating from unauthenticated or low-privilege contexts.

Monitoring Recommendations

  • Instrument the push notification handler to emit structured logs including the resolved destination IP, not just the hostname.
  • Forward application and network telemetry to a centralized SIEM for correlation of SSRF indicators against identity data.
  • Baseline normal outbound HTTP destinations from the service and alert on first-seen hosts.

How to Mitigate CVE-2026-113704

Immediate Actions Required

  • Upgrade a2a-rs to the version containing commit 2ba50176ea9f222d9a7d0f0e8cfe6fae7cf4c224 or later.
  • Audit stored push notification configurations and remove entries referencing internal, loopback, or metadata endpoints.
  • Rotate any credentials that may have transited the vulnerable push sender, since CRLF handling was also deficient.

Patch Information

The fix is tracked in GitHub Pull Request #124 and merged as commit 2ba50176. The patch adds HttpPushSenderConfig with URL validation enabled by default, rejects loopback and private-network targets, and sanitizes CRLF characters in credential headers. Additional details are available at VulDB CVE-2026-113704.

Workarounds

  • Place the a2a-rs service behind an egress proxy that enforces an allowlist of permitted webhook destinations.
  • Block outbound access from the service host to RFC1918, loopback, link-local, and cloud metadata ranges at the network layer.
  • Restrict who may create or modify push notification configurations through upstream authentication and authorization controls.
bash
# Example egress restriction using iptables to block cloud metadata access
iptables -A OUTPUT -m owner --uid-owner a2a-rs -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -m owner --uid-owner a2a-rs -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner a2a-rs -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner a2a-rs -d 192.168.0.0/16 -j REJECT

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.