CVE-2026-32750: Go Unvalidated Source Path Traversal

A source path extracted from user input via an untrusted map is passed directly to a file operation or import function without validation. This can result in path traversal, arbitrary file read, or exposing sensitive local files. Validate the file path against specific allowed subdirectories and block sensitive paths.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-32750-go-unvalidated-source-path-traversal --engine opengrep

Description

A source path extracted from user input via an untrusted map is passed directly to a file operation or import function without validation. This can result in path traversal, arbitrary file read, or exposing sensitive local files. Validate the file path against specific allowed subdirectories and block sensitive paths.