CVE-2025-7452: Gin Path Traversal
Untrusted user input from a Gin Context parameter is used to construct a file path without validation. This can lead to path traversal vulnerabilities. Use `filepath.Base` to sanitize the input before constructing paths.
Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Goβ
greprules fetch cve-2025-7452-gin-path-traversal --engine opengrepDescription
Untrusted user input from a Gin Context parameter is used to construct a file path without validation. This can lead to path traversal vulnerabilities. Use `filepath.Base` to sanitize the input before constructing paths.
Community feedback
0 signals from signed-in users.
- Useful
- 0
- False positive
- 0
- Metadata
- 0