CVE-2026-92184
SSRF in ag-ui-protocol 0.3.0 urllib.request.urlopen via manipulated Value
- CVSS 5.3
- CWE-918
- Input Validation and Sanitization
- Remote
A security flaw has been discovered in ag-ui-protocol ag-ui 0.3.0. Affected is the function urllib.request.urlopen of the file integrations/aws-strands/python/src/ag_ui_strands/utils.py of the component Multimodal Content. The manipulation of the argument Value results in server-side request forgery. The attack can be executed remotely. The patch is identified as bf0c34df34cbb4b1992bc37c9bfffe6dd54bb189. It is advisable to implement a patch to correct this issue.
- CWE
- CWE-918
- CVSS base score
- 5.3
- Published
- 2026-09-15
- OWASP
- A10 Server-Side Request Forgery (SSRF)
- Orthogonal defect classification
- Checking
- Code defect classification
- Missing Check
- Category
- Input Validation and Sanitization
- Subcategory
- Command Injection
- Accessibility scope
- Remote
- Impact
- Unauthorized Access
- Affected component
- Python
Solution
Upgrade ag‑ui to version 0.3.1 (includes patch bf0c34df34cbb4b1992bc37c9bfffe6dd54bb189).
Vulnerable code sample
import urllib.request
import urllib.parse
def fetch_resource(value: str) -> bytes:
# VULNERABLE: unsanitized URL leads to SSRF
response = urllib.request.urlopen(value)
return response.read()Patched code sample
import urllib.request
import urllib.parse
def fetch_resource(value: str) -> bytes:
# FIX: validate URL scheme and netloc to prevent SSRF
parsed = urllib.parse.urlparse(value)
if parsed.scheme not in ("http", "https") or not parsed.netloc:
raise ValueError("Invalid URL")
response = urllib.request.urlopen(value)
return response.read()Published 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: validate URL sources before server-side fetch (#2432) (ag-ui-protocol/ag-ui)
integrations/aws-strands/python/src/ag_ui_strands/utils.py,integrations/aws-strands/python/src/ag_ui_strands/utils.py · _fetch_url_bytes
Cite this entry
@misc{vaitp:cve202692184,
title = {{SSRF in ag-ui-protocol 0.3.0 urllib.request.urlopen via manipulated Value}},
author = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
year = {2026},
note = {VAITP Python Vulnerability Dataset, entry CVE-2026-92184},
howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-92184/}}
}
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 ::
