CVE-2025-30206: Go Request Slice Field To Os Open
A struct-field slice (selector expression like `params.Log`) is iterated and each element is passed directly to os.Open / os.ReadFile / os.OpenFile. When the struct is bound from an HTTP request body, the attacker controls the path and can read arbitrary host files (path traversal / arbitrary file read, CVE-2025-30206). Restrict the iteration source to a har
greprules fetch cve-2025-30206-go-request-slice-field-to-os-open --engine opengrepDescription
A struct-field slice (selector expression like `params.Log`) is iterated and each element is passed directly to os.Open / os.ReadFile / os.OpenFile. When the struct is bound from an HTTP request body, the attacker controls the path and can read arbitrary host files (path traversal / arbitrary file read, CVE-2025-30206). Restrict the iteration source to a har
Community feedback
0 rule-level signals from signed-in users.
- Useful reports
- 0
- Context false positives
- 0
- Metadata suggestions
- 0
Contextual precision
Aggregated from approved scan feedback. False-positive reports describe observed scan contexts, not a global rule verdict.
- Findings observed
- 0
- Projects
- 0
- Reporters
- 0
Precision details are collecting more signed-in reports before verdict counts or ratios are emphasized.
No approved finding verdicts yet.
No scan diagnostics reported yet.