CVE-2026-27884: Path Traversal Split Join

Detected unsanitized path traversal via `split` and `join` operations applied to an untrusted argument. An attacker could inject traversal characters (e.g., `../`) into the remote path. This could result in arbitrary file write (or overwrite) if the path is appended to a local directory. Make sure to filter out path traversal characters before joining paths.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-27884-path-traversal-split-join --engine opengrep

Description

Detected unsanitized path traversal via `split` and `join` operations applied to an untrusted argument. An attacker could inject traversal characters (e.g., `../`) into the remote path. This could result in arbitrary file write (or overwrite) if the path is appended to a local directory. Make sure to filter out path traversal characters before joining paths.