CVE-2024-0550: Path Traversal From Db To Path Join

Detected a dynamically constructed file path using data from database reads or HTTP requests without proper sanitization. An attacker may manipulate the filename payload to traverse directory boundaries (Path Traversal), leading to arbitrary file read or restricted file deletion. Ensure paths are sanitized (e.g. using a dedicated path normalization/validatio

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2024-0550-path-traversal-from-db-to-path-join --engine opengrep

Description

Detected a dynamically constructed file path using data from database reads or HTTP requests without proper sanitization. An attacker may manipulate the filename payload to traverse directory boundaries (Path Traversal), leading to arbitrary file read or restricted file deletion. Ensure paths are sanitized (e.g. using a dedicated path normalization/validatio