CVE-2026-48154: Env Path Traversal Mkdir

The application dynamically creates a directory using an unvalidated environment variable. If this path is meant to be constrained to a specific base directory, an attacker who can control the environment variable could use traversal sequences (e.g., `../`) or an absolute path to escape the intended directory base and create directories anywhere on the files

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-48154-env-path-traversal-mkdir --engine opengrep

Description

The application dynamically creates a directory using an unvalidated environment variable. If this path is meant to be constrained to a specific base directory, an attacker who can control the environment variable could use traversal sequences (e.g., `../`) or an absolute path to escape the intended directory base and create directories anywhere on the files