Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.7
CVE-2026-129303: Guard Core lets hidden line breaks bypass security checks
CVE-2026-129303 · published 16 days ago
Summary
Versions of Guard Core from 1.0.0 through 3.13.0 remove line‑break characters before scanning requests, which stops its built‑in checks for split URLs and command injection that rely on those characters. As a result, specially crafted inputs containing carriage‑return/line‑feed sequences can pass through undetected and later be used by the application in contexts where such characters are dangerous. Upgrade to Guard Core version 3.13.0 or later to restore the missing protections.
What to do
- Update guard-core to version 3.13.0.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | rennf93 | guard-core | >= 1.0.0, < 3.13.0 |
| pip | – | guard-core |
>= 1.0.0, < 3.13.0 Fix: upgrade to 3.13.0
|
Original advisory text
Guard Core: Whitespace-collapse preprocessing permanently disables the CRLF-anchored http-splitting and command-injection detectors in the default detection mode
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.
References
- https://github.com/Guard-Core/guard-core/security/advisories/GHSA-w7wg-6q7v-44f2 Vendor Advisory
- https://github.com/Guard-Core/guard-core/pull/68 Patch
- https://github.com/Guard-Core/guard-core/commit/c07239fa1c5aa93e3f179440e79dad65... Patch
- https://github.com/Guard-Core/guard-core/releases/tag/3.13.0 URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-1293... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-129303 Vendor Advisory
- https://github.com/advisories/GHSA-w7wg-6q7v-44f2
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-693Protection Mechanism Failure
Timeline
Published16 Nov 2026
Updated2 Dec 2026
First seen16 Nov 2026
Sources
CVE-2026-129303 · NVD
CVE-2026-129303 · MITRE
CVE-2026-129303 · OSV
GHSA-w7wg-6q7v-44f2 · GHSA
Track software like this
Free during beta