Cyber Resilience

CVE-2026-58213

Linuxfoundation Nats-Server ≤ 2.12.9

Published
08 July 2026
Modified
13 July 2026
Patch / advisory
CVSS Score v3.1 7.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
EPSS Score 0.0032 25th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2026-58213 is a high-severity Injection (CWE-74) vulnerability in Linuxfoundation Nats-Server. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 25th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-7 (Boundary Protection) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

The vulnerability allows an unauthenticated MQTT client to inject arbitrary NATS protocol commands by embedding control characters in subscription filters. This directly enables exploitation of a public-facing messaging service (T1190) to corrupt protocol streams and execute unintended operations on route/leafnode connections.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-29186Same vendor: Linuxfoundation
CVE-2026-29777Shared CWE-74
CVE-2026-45344Shared CWE-74
CVE-2026-44455Shared CWE-74
CVE-2026-1089Shared CWE-74
CVE-2026-29085Shared CWE-74
CVE-2026-26002Shared CWE-74
CVE-2026-41234Shared CWE-74
CVE-2026-5797Shared CWE-74
CVE-2025-8154Shared CWE-74

Affected Assets

linuxfoundation
nats-server
≤ 2.12.9 · 2.14.0 — 2.14.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SC-7 Boundary Protection
  • SI-10 Information Input Validation
  • SC-8 Transmission Confidentiality and Integrity
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.2.1
  • V1.2.3
  • V1.2.5
  • V1.2.8

Mitigating Controls (NIST 800-53 r5) AI

prevent

Boundary protection at the NATS ingress/egress points can enforce protocol validation and reject malformed MQTT subscription filters before they are forwarded as NATS protocol data.

prevent

Input validation on MQTT subscription filters can strip or reject protocol control characters, preventing corruption of the downstream NATS protocol stream.

prevent

Requiring integrity protection on all inter-server (route/leafnode) links reduces the chance that injected protocol fragments will be accepted as valid commands.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input validation and output encoding that prevent injection flaws.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development catches injection vulnerabilities before release.

A.8.15 Logging partial match
detects

Logging supports detection of injection attempts but does not prevent the weakness.

detects

Monitoring activities can identify active injection attacks after they occur.

prevents

Secure development life cycle mandates input validation and output encoding that directly prevent injection flaws.

prevents

Application security requirements explicitly call for controls against injection attacks in software design.

prevents

Secure architecture principles reduce injection surfaces but do not prescribe specific neutralization techniques.

References