CVE-2026-42091: Go Http Missing File Csrf Check

An HTTP handler creates or opens a file but lacks an explicit validation check on the request, which may lead to CSRF or missing authorization vulnerabilities if exposed without protection.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-42091-go-http-missing-file-csrf-check --engine opengrep

Description

An HTTP handler creates or opens a file but lacks an explicit validation check on the request, which may lead to CSRF or missing authorization vulnerabilities if exposed without protection.