Skip to main content
CVE-2026-58213VulnerabilityPublished

Nats server: Prior to 2.14.1 and 2.12.9, an MQTT client could include protocol control characters in subscription

Affects nats-serverSource GCVE Database

0
Authoritative record:CVE-2026-58213· High 7.1

Not known to be exploited · CVSS 7.1 High · fixed in 2.14.1 : patch nats-server soon.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.14.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu Pro 26.04 LTSnats-serverpkg:deb/ubuntu/nats-server@2.10.27-1ubuntu0.26.04.1~esm1?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • =2.10.27-1
  • =2.10.27-1build1
  • =2.10.27-1ubuntu0.26.04.1~esm1
Fixed in–
Ubuntu 25.10nats-serverpkg:deb/ubuntu/nats-server@2.10.27-1?arch=source&distro=questingOther threatsAffected
  • =2.10.24-1
  • =2.10.27-1
Fixed in–
Ubuntu 24.04 LTSnats-serverpkg:deb/ubuntu/nats-server@2.10.7-1ubuntu0.3?arch=source&distro=nobleOther threatsAffected
  • 2.9.19-1build1 – 2.10.7-1ubuntu0.3
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in NATS Server versions 2.14.1 and 2.12.9. Users should upgrade affected versions to at least 2.14.1 or 2.12.9 to remediate this vulnerability.

Description

NATS Server versions prior to 2.14.1 and 2.12.9 have a vulnerability where an MQTT client can inject protocol control characters into subscription filters. These characters are forwarded as NATS protocol data to route or leafnode connections, corrupting the protocol stream and enabling injection of unintended NATS commands. This issue is fixed in versions 2.14.1 and 2.12.9.

References

Community reviews

Loading reviews…