CVE-2026-6357: Utils Unpacking Py Cwe 000 Cve 2026 6357

Substituting forward slashes with backslashes before looking up an entry in a tar archive can introduce path traversal validation bypasses. Because tarfiles natively expect standard paths with forward slashes, forcing a backslash query allows attackers to pass validation by supplying malicious archive entries that use literal backslash characters in their na

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-6357-utils-unpacking-py-cwe-000-cve-2026-6357 --engine opengrep

Description

Substituting forward slashes with backslashes before looking up an entry in a tar archive can introduce path traversal validation bypasses. Because tarfiles natively expect standard paths with forward slashes, forcing a backslash query allows attackers to pass validation by supplying malicious archive entries that use literal backslash characters in their na