CVE-2026-33129: Bypass Path Traversal Decodeuri

Decoding an HTTP request path using `decodeURI` or `decodeURIComponent` without subsequently removing or resolving dot segments can bypass simple path traversal protections. An attacker can send percent-encoded dot segments (e.g., `%2e%2e`) that bypass literal filters and get decoded into `..`, enabling directory traversal. Ensure you wrap the decoded path i

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2026-33129-bypass-path-traversal-decodeuri --engine opengrep

Description

Decoding an HTTP request path using `decodeURI` or `decodeURIComponent` without subsequently removing or resolving dot segments can bypass simple path traversal protections. An attacker can send percent-encoded dot segments (e.g., `%2e%2e`) that bypass literal filters and get decoded into `..`, enabling directory traversal. Ensure you wrap the decoded path i