CVE-2026-42274: Bypass Via Unnormalized Path Unescape

Extracting and unescaping a raw HTTP path without first normalizing dot-segments (`../`) can cause path traversal or authorization bypasses when a downstream server normalizes the path. Apply path normalization (e.g., `path.Clean` or a custom dot-segment remover) before unescaping.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-42274-bypass-via-unnormalized-path-unescape --engine opengrep

Description

Extracting and unescaping a raw HTTP path without first normalizing dot-segments (`../`) can cause path traversal or authorization bypasses when a downstream server normalizes the path. Apply path normalization (e.g., `path.Clean` or a custom dot-segment remover) before unescaping.