CVE-2026-92215
SSRF in a2ui FileResolver (httpx.get) allows remote request injection.
- CVSS 6.9
- CWE-918
- Input Validation and Sanitization
- Remote
A vulnerability has been found in a2ui-project a2ui up to 0.10.7. Affected by this vulnerability is the function httpx.get of the file agent_sdks/python/a2ui_agent/src/a2ui/extensions/file_resolve/file_resolver.py of the component FileResolver. The manipulation leads to server-side request forgery. It is possible to initiate the attack remotely. The identifier of the patch is 2bb8423060308bbdea8ba468dabed4fc256d18ea. To fix this issue, it is recommended to deploy a patch.
- CWE
- CWE-918
- CVSS base score
- 6.9
- Published
- 2026-09-16
- OWASP
- A10 Server-Side Request Forgery (SSRF)
- Orthogonal defect classification
- Interface
- Code defect classification
- Missing Check
- Category
- Input Validation and Sanitization
- Subcategory
- Command Injection
- Accessibility scope
- Remote
- Impact
- Unauthorized Access
- Affected component
- httpx
Solution
Upgrade a2ui‑project to version 0.10.8 (or later), which includes the fix for CVE‑2026‑… (commit 2bb8423060308bbdea8ba468dabed4fc256d18ea).
Vulnerable code sample
import httpx
class FileResolver:
def __init__(self, allowed_hosts=None):
# allowed_hosts is optional; when None, any host is allowed
self.allowed_hosts = allowed_hosts
def resolve(self, url: str) -> bytes:
"""
Retrieve the content of a remote file.
"""
# VULNERABLE: no validation of the URL allows SSRF
response = httpx.get(url, timeout=5.0)
response.raise_for_status()
return response.contentPatched code sample
import httpx
from urllib.parse import urlparse
class FileResolver:
def __init__(self, allowed_hosts=None):
# allowed_hosts is optional; when None, any host is allowed
self.allowed_hosts = allowed_hosts or []
def _is_allowed(self, url: str) -> bool:
parsed = urlparse(url)
# FIX: enforce http/https scheme and restrict host to whitelist
if parsed.scheme not in ("http", "https"):
return False
return parsed.hostname in self.allowed_hosts
def resolve(self, url: str) -> bytes:
"""
Retrieve the content of a remote file.
"""
if not self._is_allowed(url):
raise ValueError("Disallowed URL")
response = httpx.get(url, timeout=5.0)
response.raise_for_status()
return response.contentPublished fix
Public sources link this CVE to the changes below. The code samples above were generated to illustrate the defect; these links lead to the code the project actually changed.
- Fix file resolve (#2390) (a2ui-project/a2ui)
agent_sdks/python/a2ui_agent/src/a2ui/extensions/file_resolve/file_resolver.py,agent_sdks/python/a2ui_agent/src/a2ui/extensions/file_resolve/file_resolver.py · FileResolver._resolve_bytes_internal,agent_sdks/python/a2ui_agent/src/a2ui/extensions/file_resolve/file_resolver.py · FileResolver.__init__,samples/community/agent/adk/file_upload_summarizer/file_resolution.py
Cite this entry
@misc{vaitp:cve202692215,
title = {{SSRF in a2ui FileResolver (httpx.get) allows remote request injection.}},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2026},
note = {VAITP Python Vulnerability Dataset, entry CVE-2026-92215},
howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-92215/}}
}
Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.
The supreme art of war is to subdue the enemy without fighting.
Sun Tzu – “The Art of War”
:: Shaping the future through research and ingenuity ::
