Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 75%

CVE-2026-58213: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in nats-io nats-server

0
High
VulnerabilityCVE-2026-58213cvecve-2026-58213cwe-74
Published: 07/08/2026 (07/08/2026, 19:52:12 UTC)
Source: CVE Database V5
Vendor/Project: nats-io
Product: nats-server

Description

NATS Server is a high-performance server for NATS.io, the cloud and edge native messaging system. Prior to 2.14.1 and 2.12.9, an MQTT client could include protocol control characters in subscription filters that were later forwarded as NATS protocol data to route or leafnode connections, corrupting the forwarded protocol stream and allowing injection of unintended NATS protocol operations. This issue is fixed in versions 2.14.1 and 2.12.9.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Affected software

GitHub Actionsmore threats →ai
nats-io/nats-server
pkg:github/nats-io/nats-server
Affected versions
<2.12.9>=2.12.0 <2.12.9<2.14.1>=2.12.9 <2.14.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 10:12:41 UTC

Technical Analysis

CVE-2026-58213 is an injection vulnerability (CWE-74) in nats-io nats-server. Specifically, MQTT clients could include special protocol control characters in subscription filters that are forwarded downstream as NATS protocol data. This corrupts the protocol stream and allows injection of unintended NATS protocol operations on route or leafnode connections. The issue affects versions prior to 2.14.1 and 2.12.9 and is fixed in those versions.

Potential Impact

Successful exploitation could allow an attacker with MQTT client privileges to inject unintended NATS protocol operations, potentially disrupting or manipulating message routing between NATS servers. The CVSS score of 7.1 indicates high severity with high confidentiality impact, low integrity impact, and no availability impact.

Mitigation Recommendations

A fix is available in nats-server versions 2.14.1 and 2.12.9. Users should upgrade to these versions or later to remediate this vulnerability. No additional vendor advisory details are provided, so patching is the primary mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-29T17:09:25.873Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4eafe7c9d9e3dbe3adea24

Added to database: 07/08/2026, 20:15:35 UTC

Last enriched: 07/16/2026, 10:12:41 UTC

Last updated: 08/22/2026, 10:52:10 UTC

Views: 81

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses