Guard Core whitespace collapsing disables CRLF detectors in default mode
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-693.
Summary
Guard Core, the API security engine behind the FastAPI-Guard, FlaskAPI Guard and DjAPI Guard adapters, is affected from 1.0.0 before 3.13.0. Its whitespace collapsing preprocessor in the default enhanced mode removes carriage returns and newlines before pattern matching, so the http_split and newline-anchored cmd_injection detectors cannot match CRLF sequences (CWE-693). An attacker can send CRLF-bearing input that passes unflagged while the downstream application still receives the raw newline-bearing value, with direct impact only if the downstream application re-emits it into a CRLF-tolerant response or command context.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
Guard Core is an API security core engine for the FastAPI-Guard, FlaskAPI Guard, and DjAPI Guard adapters. From 1.0.0 until 3.13.0, ContentPreprocessor.preprocess() in guard_core/detection_engine/preprocessor.py collapses all whitespace before built-in pattern matching in the default enhanced mode. This removes carriage returns and newlines required by the http_split and newline-anchored cmd_injection detectors in guard_core/handlers/suspatterns_handler.py, making those detectors unable to match. Framework-decoded CRLF can therefore pass through Guard Core unflagged while the downstream application still receives the raw newline-bearing value. Direct security impact requires a downstream stack or application that persists or re-emits the value into a CRLF-tolerant response or command context. This issue is fixed in version 3.13.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade rennf93 guard-core to version 3.13.0, which fixes the issue. The sources list no fixed version for other products.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA guard-core (rennf93) Fixed in 3.13.0
Timeline
- 2026-11-16 Threatist record created from CVE-2026-129303
- 2026-11-16 CISA SSVC decision points changed
References
More rennf93 vulnerabilities
- TI-2025-34178 fastapi-guard patch contains bypassable RegEx CVSS 4.0HIGH 7.8
- TI-2025-29447 FastAPI Guard Remote Header Injection via X-Forwarded-For Manipulation CVSS 3.1HIGH 7.5
- TI-2025-33483 ReDoS in fastapi-guard's penetration attempts detector CVSS 4.0MEDIUM 6.9
- TI-2026-92273 Quadratic ReDoS in Guard Core built-in detection pattern freezes event loop CVSS 3.1HIGH 7.5
- TI-2026-92275 Unvalidated X-Forwarded-For value used in Redis keys in Guard Core CVSS 3.1MEDIUM 5.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences