CVE-2025-67303: Aiohttp Path Traversal

User-supplied input from web requests is used to construct file paths without adequate validation or sanitization. This can result in a path traversal vulnerability allowing attackers to read, delete, or manipulate arbitrary files. Use validation such as checking against safe directories or sanitize the path using `os.path.basename()`.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2025-67303-aiohttp-path-traversal --engine opengrep

Description

User-supplied input from web requests is used to construct file paths without adequate validation or sanitization. This can result in a path traversal vulnerability allowing attackers to read, delete, or manipulate arbitrary files. Use validation such as checking against safe directories or sanitize the path using `os.path.basename()`.