SSRF Beyond HTTP: Egress-Path-Incomplete Guards in AI Agent Platforms

Server-side request forgery defenses in AI agent platforms are built around one egress chokepoint. A hardened HTTP client validates every URL it touches. A platform can validate that client perfectly. It can still ship a second network client (smtplib.SMTP(), a raw socket, an FTP dialer) that opens outbound connections through a call site the blocklist never sees. The guard is not weak. It is incomplete in the egress dimension. We define the Egress-Path-Incomplete (EPI) SSRF class as a coverage defect, P ⊊ E, where E is the set of outbound clients and P the subset on which the guard actually runs. Any client in E \ P is a full-strength SSRF primitive regardless of guard quality. CVE-2026-33234 in AutoGPT (170k+ GitHub stars) is the instance. validate_url_host() governs backend/util/request.py. SendEmailBlock reaches the network through smtplib.SMTP(smtp_server, smtp_port) and calls none of it. A protocol-parser mismatch upgrades the bug from blind to non-blind. smtplib expects a 220 greeting. A non-SMTP service banner (SSH-2.0-OpenSSH_8.9p1 Ubuntu) lands in an SMTPConnectError and echoes to the user. A blind SSRF becomes a non-blind internal port scanner leaking exact version strings at most log2 3 ≈ 1.58 bits of topology per API call. We give the fix (guard the socket, not the URL), note that the shipped 0.6.52 patch re-resolves the hostname at connect and so structurally leaves a DNS-rebinding TOCTOU gap, and describe a dominator-analysis coverage audit that finds the class mechanically.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-08-24
DOI
https://doi.org/10.5281/zenodo.22075470
Primary Topic
Security and Verification in Computing
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

SSRF Beyond HTTP: Egress-Path-Incomplete Guards in AI Agent Platforms

Pavan Nallamothu
Zenodo (CERN European Organization for Nuclear Research)
Security and Verification in Computing
preprint

SSRF Beyond HTTP: Egress-Path-Incomplete Guards in AI Agent Platforms

Pavan Nallamothu
preprint en

Abstract

Server-side request forgery defenses in AI agent platforms are built around one egress chokepoint. A hardened HTTP client validates every URL it touches. A platform can validate that client perfectly. It can still ship a second network client (smtplib.SMTP(), a raw socket, an FTP dialer) that opens outbound connections through a call site the blocklist never sees. The guard is not weak. It is incomplete in the egress dimension. We define the Egress-Path-Incomplete (EPI) SSRF class as a coverage defect, P ⊊ E, where E is the set of outbound clients and P the subset on which the guard actually runs. Any client in E \ P is a full-strength SSRF primitive regardless of guard quality. CVE-2026-33234 in AutoGPT (170k+ GitHub stars) is the instance. validate_url_host() governs backend/util/request.py. SendEmailBlock reaches the network through smtplib.SMTP(smtp_server, smtp_port) and calls none of it. A protocol-parser mismatch upgrades the bug from blind to non-blind. smtplib expects a 220 greeting. A non-SMTP service banner (SSH-2.0-OpenSSH_8.9p1 Ubuntu) lands in an SMTPConnectError and echoes to the user. A blind SSRF becomes a non-blind internal port scanner leaking exact version strings at most log2 3 ≈ 1.58 bits of topology per API call. We give the fix (guard the socket, not the URL), note that the shipped 0.6.52 patch re-resolves the hostname at connect and so structurally leaves a DNS-rebinding TOCTOU gap, and describe a dominator-analysis coverage audit that finds the class mechanically.

Zenodo (CERN European Organization for Nuclear Research)
Peace, Justice and strong institutions
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.