PatchSiren

PatchSiren evidence-grounded CVE debrief

CVE-2026-58254 nats-io CVE debrief

CVE-2026-58254 is a NATS Server authorization flaw in message tracing across leaf-node connections; affected operators should use the vendor-fixed 2.12.12 or 2.14.3 release for their branch.[1][2][3][4]

Vendor
nats-io
Product
nats-server
Primary advisory published
[1]
Source: NATS.io
CVE record published
[6]
Source: CVE Program
CVE record modified
[6]
Source: CVE Program
NVD published
[7]
Source: NIST National Vulnerability Database
NVD last modified
[7]
Source: NIST National Vulnerability Database
PatchSiren debrief published
Source: PatchSiren
PatchSiren debrief materially updated
Source: PatchSiren
Evidence checked
Source: PatchSiren evidence snapshot

How source differences were handled

Some sources report different details. Where a difference has been resolved for this debrief, the value used here is shown alongside what other sources reported.

Affected versions

Resolved for this debrief
Used in this debrief
  • 2.12.11 and below; 2.14.2 and below[1]
Other sources reported
  • below 2.12.8; 2.14.0-RC.1 through below 2.14.3[5][6][7]
Why this value was used
Canonical NATS security-note precedence resolves the affected-version mismatch.[1][5][6][7]

Fixed versions

Resolved for this debrief
Used in this debrief
Other sources reported
Why this value was used
Canonical NATS note and matching project releases resolve the fixed-version mismatch.[1][2][3][5][6][7]

Who should care

Roles

  • Operators responsible for NATS Server leaf-node deployments should review this issue.[1]

Technologies

  • The affected product is NATS Server, not a NATS client SDK or NATS Streaming Server.[1][6]

Deployment contexts

  • The relevant deployment context is a hub-and-leaf topology that accepts messages over a leaf-node connection.[1][4]

Why it matters

A leaf-node operator can direct trace events to a subject that the leaf is not otherwise authorized to publish to.[1][4]

  • Trace events can expose routing, subscription, account, service-import, and JetStream metadata.[1]
  • Trace-only behavior can suppress ordinary message delivery or storage, affecting messaging integrity or availability.[1]

Technical assessment

The vulnerable hub-side path did not consistently apply the normal trace-destination authorization checks to messages received through a leaf-node connection.[1][4]

  • An attacker needs control of or trusted access equivalent to a leaf-node operator and a leaf publish path accepted by the target.[1][4]
  • The canonical NATS note identifies 2.12.11 and below and 2.14.2 and below as affected.[1]

Source-specific severity assessments

  • CVE Program[6]

    CVSS version
    4.0[6]
    Score
    5.3[6]
    Severity
    MEDIUM[6]

    Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N[6]

  • NIST National Vulnerability Database[7]

    CVSS version
    3.1[7]
    Score
    6.5[7]
    Severity
    MEDIUM[7]

    Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N[7]

Basis
Crafted message-trace headers arriving over a leaf-node connection[1][4]
Attack vector
NETWORK[6]
Attack complexity
LOW[6]
Privileges required
LOW[6]
User interaction
NONE[6]
Known exploitation
CISA SSVC classified Exploitation as none at 2026-07-09T13:38:04.787Z.[6]

A crafted message can set a trace destination outside the leaf's allowed publish subjects when it reaches the vulnerable leaf-processing path.[1][4]

  • The vendor note does not support characterizing this issue as arbitrary application-payload exfiltration, remote code execution, or host takeover.[1]

Defensive priority

PatchSiren priority

Moderate

Policy public-cve-priority-v1

Prioritize deployments that accept leaf-node connections from operators or environments with a lower trust boundary.[1][4]

Moderate priority is appropriate because exploitation requires a leaf-node path, while successful abuse can bypass subject authorization for trace events and affect delivery behavior.[1][4][6]

  • The vendor published fixed releases for both supported affected branches.[1][2][3]
  • The issue crosses an authorization boundary and can affect trace metadata and message-delivery behavior.[1]
  • Deployments without leaf-node connections do not meet the vendor-described prerequisite for this bypass.[1][4]

Evidence findings

  • Confirmed· timeline

    The canonical NATS security note is dated 2026-06-29. (as of 2026-09-03)[1]

  • Confirmed· timeline

    The CVE Program record supplies separate publication and update timestamps. (as of 2026-09-03)[6]

  • Confirmed· timeline

    NVD supplies separate publication and last-modified timestamps for its assessment. (as of 2026-09-03)[7]

  • Conflicting· remediation

    GitHub, CVE, and NVD retain a stale 2.12.8 boundary, while the canonical NATS note and releases identify 2.12.12. (as of 2026-09-03)[1][2][3][5][6][7]

  • Confirmed· exploitation

    CISA's SSVC assessment classified Exploitation as none at 2026-07-09T13:38:04.787Z; this dated classification does not establish conditions after that assessment. (as of 2026-07-09)[6]

Sources and further reading

Verified primary and authoritative sources

  1. Source 1 · vendor advisory

    NATS Security Note 2026-20

    NATS.io

    URL: https://advisories.nats.io/CVE/secnote-2026-20.txt

    Canonical NATS security note with affected branches, fixed releases, prerequisites, and impact.

    Published 2026-06-29

  2. Source 2 · project release

    NATS Server v2.12.12

    NATS.io

    URL: https://github.com/nats-io/nats-server/releases/tag/v2.12.12

    NATS Server 2.12.12 release record for the vendor-fixed 2.12 branch.

    Published 2026-06-29

  3. Source 3 · project release

    NATS Server v2.14.3

    NATS.io

    URL: https://github.com/nats-io/nats-server/releases/tag/v2.14.3

    NATS Server 2.14.3 release record for the vendor-fixed 2.14 branch.

    Published 2026-06-29

  4. Source 4 · fix commit

    NATS Server authorization fix commit

    NATS.io

    URL: https://github.com/nats-io/nats-server/commit/cbe845932980b71563efac5cfa4cc751c88936cd

    NATS Server authorization fix and regression-test change for leaf connections.

    Published 2026-06-18

  5. Source 5 · csaf or osv advisory

    GHSA-p3j5-5hrq-p75h

    GitHub

    URL: https://github.com/nats-io/nats-server/security/advisories/GHSA-p3j5-5hrq-p75h

    Repository security advisory retaining the older mirrored 2.12 boundary.

    Published 2026-06-29 · Updated 2026-06-30

  6. Source 6 · cve record

    CVE-2026-58254 record

    CVE Program

    URL: https://www.cve.org/CVERecord?id=CVE-2026-58254

    CVE Program record with CNA vulnerability data and the dated CISA SSVC assessment.

    Published 2026-07-08 · Updated 2026-07-09

  7. Source 7 · registry assessment

    NVD entry for CVE-2026-58254

    NIST National Vulnerability Database

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-58254

    NVD record with its separately labelled CVSS assessment and publication timeline.

    Published 2026-07-08 · Updated 2026-07-13

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision.

Stored evidence checked 2026-09-03. External sources can change after that date.

This debrief supports defensive triage and source review. It does not establish that any particular deployment is affected or remediated. Report a correction to [email protected].