CVE-2026-31877: Frappe Sanitize Fields Single Paren Blacklist Bypass
SQL field sanitizer extracts only the token after the first '(' and checks it against a keyword/function blacklist. Nested parentheses (a subquery placed in a later argument, or wrapped inside an allowed SQL function) bypass this check and enable SQL injection (CVE-2026-31877). Iterate over every '(' in the field expression and validate each inner token, e.g
greprules fetch cve-2026-31877-frappe-sanitize-fields-single-paren-blacklist-bypass --engine opengrepDescription
SQL field sanitizer extracts only the token after the first '(' and checks it against a keyword/function blacklist. Nested parentheses (a subquery placed in a later argument, or wrapped inside an allowed SQL function) bypass this check and enable SQL injection (CVE-2026-31877). Iterate over every '(' in the field expression and validate each inner token, e.g
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.