CVE-2026-58213: NATS Server: MQTT SUBSCRIBE Protocol Injection via Leaf Node/Route Forwarding allows arbitrary NATS command injection
Vulnerability summary
CVE-2026-58213 is a high (CVSS 7.1) vulnerability in linuxfoundation nats-server. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 27.3% of scored vulnerabilities.
Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 08-07-2026PublishedVulnerability first disclosed.
- 09-07-2026Last modifiedVulnerability information updated.
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 metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- NVDNIST7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- OSV · GoEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
Decrease -0.12 pp
From 0.44% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard25 products
- k3s-1.32All versions (No fix recorded)
- k3s-1.33All versions (No fix recorded) | < 1.33.13.2-r19
- k3s-1.34All versions (No fix recorded) | < 1.34.12.1-r12
- k3s-1.36All versions (No fix recorded) | < 1.36.6.1-r4
- k3s-1.37< 1.37.2.1-r4
Wolfi9 products
- k3s-1.32All versions (No fix recorded)
- k3s-1.34All versions (No fix recorded) | < 1.34.12.1-r12
- k3s-1.36All versions (No fix recorded) | < 1.36.6.1-r4
- k3s-1.37< 1.37.2.1-r4
- k3s-static-1.32All versions (No fix recorded)
Debian1 product
- nats-serverAll versions (No fix recorded) | < 2.14.1-1
Github.com/nats-io/nats-server1 product
- v2< 2.12.9 | ≥ 2.14.0-RC.1, < 2.14.1
Linuxfoundation1 product
- nats-server< 2.12.9 | ≥ 2.14.0, < 2.14.1
Nats-io1 product
- nats-server< 2.12.9 | ≥ 2.14.0-RC.1, < 2.14.1
Ubuntu1 product
- nats-serverAll versions (No fix recorded)
7 vendors · 39 products
References
14 links- github.com/nats-io/nats-server/security/advisories/GHSA-qrcv-3558-gj4fX Refsource CONFIRMREPORTVendor AdvisoryWEBAdvisory
- github.com/nats-io/nats-server/commit/366837cfc65ab9ccb4f98193c65e8daf238582d8X Refsource MISCPatchWEBFIX
- github.com/nats-io/nats-server/commit/64ebae40051ee497c481e10f316238faf0de1736X Refsource MISCPatchWEBFIX
- github.com/nats-io/nats-server/commit/f14856b9e57a36818f43851cb69b6e33670885c9X Refsource MISCPatchWEBFIX