Description
MISP's NIDS rule export functionality for Snort and Suricata formats does not properly escape user-controlled data before embedding it into generated rule text. Attribute values, tag names, and URL paths are inserted directly into rule options (msg, metadata, content matches) without neutralizing characters that are syntactically significant in the NIDS rule grammar, such as double quotes, semicolons, backslashes, commas, and control characters.
An authenticated user with the ability to create or modify attributes in a MISP instance can craft attribute values or tag names containing these special characters. When the NIDS rules are exported, the unescaped data breaks out of the intended option or content field, allowing injection of arbitrary rule options, corruption of rule structure, or generation of syntactically invalid rules that may cause the downstream NIDS engine to reject the entire ruleset.
The affected export paths include:
- Snort and Suricata msg: option (quotes, semicolons, backslashes, control characters)
- Suricata metadata: option (commas, semicolons, quotes, whitespace, control characters)
- Suricata http.uri content: match for URL path (quotes, semicolons, pipe characters)
Security impact is limited to the integrity and availability of the exported NIDS rules and the downstream NIDS engine that consumes them. There is no direct compromise of the MISP application itself.
Affected: MISP versions prior to 2.5.52.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MISP | MISP | < 2.5.52 | 2.5.52 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
googlesky/CVE-2026-135253 ★ 0 · Nov 24, 2026
MISP <2.5.52: NIDS export escapes host into path slot — raw URL path with ';' goes unescaped into Suricata rule, enabling rule injection. Verbatim escaping from 8438e44^ vs fix: raw on vuln, escaped …
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2026-4751 MISP: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 23, 2026
References
- Security patch patch
- Security patch patch