CVE-2026-135253 MISP NIDS Rule Export Injection via Unescaped Attribute Values and Tags

Published Updated

Authenticated MISP users can inject arbitrary NIDS rule options via crafted attributes, corrupting exported rules or breaking the downstream NIDS engine.

CVSS score

Medium

5.3/10

CVSS 4.0 · Scored by CIRCL Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
2.5.52
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-135253?

CVE-2026-135253 is a medium-severity code injection vulnerability in MISP, published on 23 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-74, CWE-116

How severe is CVE-2026-135253?

CVE-2026-135253 scores 5.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by CIRCL.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
Low

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-135253?

It affects 1 product.

An affected version is exposed as installed. No special setting or call is needed.

Products include Misp.

CPE match criteria 1
CPE 2.3Versions
cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*before 2.5.52

How do I fix CVE-2026-135253?

Upgrade MISP to 2.5.52 or later. The advisory says that version fixes it.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-135253 being exploited?

There is no known exploitation of CVE-2026-135253 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-pcc7-8r48-hg5r.

Is CVE-2026-135253 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free