CVE-2026-44645: Unvalidated Fallback Path Traversal

A file path returned by a fallback function is yielded directly without validating if it falls within allowed root directories. This can lead to a Path Traversal vulnerability if the file parameter is attacker-controlled.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0TS
greprules fetch cve-2026-44645-unvalidated-fallback-path-traversal --engine opengrep

Description

A file path returned by a fallback function is yielded directly without validating if it falls within allowed root directories. This can lead to a Path Traversal vulnerability if the file parameter is attacker-controlled.