Home / nats-io / nats-server / CVE-2026-27571
CVE-2026-27571: is it exploited, and which versions of nats-io nats-server are affected and fixed?
CVE-2026-27571 is an improper Handling of Highly Compressed Data (Data Amplification) vulnerability in nats-io nats-server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: github.com/nats-io/nats-server/v2 before 2.11.12, github.com/nats-io/nats-server/v2 from 2.12.0-RC.1 before 2.12.3 and github.com/nats-io/nats-server through 1.4.1 (GitHub advisory GHSA-qrvq-68c2-7grw). Fixed in 2.11.12 and 2.12.3 (GitHub advisory GHSA-qrvq-68c2-7grw). Severity: Medium (5.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-27571?
nats-server websockets are vulnerable to pre-auth memory DoS
NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. The WebSockets handling of NATS messages handles compressed messages via the WebSockets negotiated compression. Prior to versions 2.11.2 and 2.12.3, the implementation bound the memory size of a NATS message but did not independently bound the memory consumption of the memory stream when constructing a NATS message which might then fail validation for size reasons. An attacker can use a compression bomb to cause excessive memory consumption, often resulting in the operating system terminating the server process. The use of compression is negotiated before authentication, so this does not require valid NATS credentials to exploit. The fix, present in versions 2.11.2 and 2.12.3, was to bounds the decompression to fail once the message was too large, instead of continuing on. The vulnerability only affects deployments which use WebSockets and which expose the network port to untrusted end-points.
From the CVE record by GitHub_M, last updated February 26, 2026, 21:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nats-io | nats-server | < 2.11.12 >= 2.12.0-RC.1, < 2.12.3 |
As the CVE record by GitHub_M states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/nats-io/nats-server/v2 | < 2.11.12 | 2.11.12 | GHSA-qrvq-68c2-7grw |
| Go | github.com/nats-io/nats-server/v2 | >= 2.12.0-RC.1, < 2.12.3 | 2.12.3 | GHSA-qrvq-68c2-7grw |
| Go | github.com/nats-io/nats-server | <= 1.4.1 | none listed | GHSA-qrvq-68c2-7grw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 27, 2026. Summary: nats-server websockets are vulnerable to pre-auth memory DoS.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linuxfoundation | nats-server | before 2.11.12 | application |
| linuxfoundation | nats-server | from 2.12.0 before 2.12.3 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:27 UTC.
How severe is CVE-2026-27571?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-27571 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, February 26, 2026)
- EPSS
- 0.53% probability of exploitation activity in the next 30 days, percentile 46.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/nats-io/nats-server/security/advisories/GHSA-qrvq-68c2-7grw x_refsource_CONFIRM
- https://github.com/nats-io/nats-server/commit/f77fb7c4535e6727cc1a2899cd8e6bbdd8ba2017 x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.11.12 x_refsource_MISC
- https://github.com/nats-io/nats-server/releases/tag/v2.12.3 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- February 20, 2026
- Published
- February 24, 2026, 15:59 UTC
- CVE record updated
- February 26, 2026, 21:33 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:27 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect nats-server?
- Jul 8, 2026CVE-2026-58208 nats-io nats-server: uncaught exception (crash)
- Jul 8, 2026CVE-2026-58211 nats-io nats-server: incorrect authorization
- Jul 8, 2026CVE-2026-58207 nats-io nats-server: integer overflow
- Jul 8, 2026CVE-2026-58210 nats-io nats-server: denial of service (uncontrolled resource consumption)
- Jul 8, 2026CVE-2026-58209 nats-io nats-server: incorrect authorization
- Jul 8, 2026CVE-2026-58214 nats-io nats-server: incorrect authorization
- Jul 8, 2026CVE-2026-58254 nats-io nats-server: incorrect authorization
- Jul 8, 2026CVE-2026-58213 nats-io nats-server: injection
Questions about CVE-2026-27571
Is CVE-2026-27571 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.53% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nats-io nats-server are affected by CVE-2026-27571?
github.com/nats-io/nats-server/v2 before 2.11.12, github.com/nats-io/nats-server/v2 from 2.12.0-RC.1 before 2.12.3 and github.com/nats-io/nats-server through 1.4.1, per the GitHub advisory GHSA-qrvq-68c2-7grw. The tables above give every range the sources list.
Which version fixes CVE-2026-27571?
2.11.12 and 2.12.3, per the GitHub advisory GHSA-qrvq-68c2-7grw. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-27571?
Medium (5.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-27571?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.