Skip to main content
EPSS 0.5%top 57%

CVE-2026-33247: CWE-215: Insertion of Sensitive Information Into Debugging Code in nats-io nats-server

0
High
Published: 03/25/2026 (03/25/2026, 20:02:18 UTC)
Source: CVE Database V5
Vendor/Project: nats-io
Product: nats-server

Description

NATS-Server is a High-Performance server for NATS.io, a cloud and edge native messaging system. Prior to versions 2.11.15 and 2.12.6, if a nats-server is run with static credentials for all clients provided via argv (the command-line), then those credentials are visible to any user who can see the monitoring port, if that too is enabled. The `/debug/vars` end-point contains an unredacted copy of argv. Versions 2.11.15 and 2.12.6 contain a fix. As a workaround, configure credentials inside a configuration file instead of via argv, and do not enable the monitoring port if using secrets in argv. Best practice remains to not expose the monitoring port to the Internet, or to untrusted network sources.

CVSS v3.1

Score 7.4high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

nats-io

nats-server

Affected versions
<2.11.15>=2.12.0-RC.1 <2.12.6
GitHub Actionsmore threats →ai
nats-io/nats-server
pkg:github/nats-io/nats-server
Affected versions
<2.11.15

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 16:34:20 UTC

Technical Analysis

NATS-Server versions prior to 2.11.15 and 2.12.6 contain a vulnerability where static client credentials passed as command-line arguments are exposed via the /debug/vars endpoint on the monitoring port if it is enabled. This endpoint reveals an unredacted copy of argv, leading to disclosure of sensitive authentication information. The issue is categorized under CWE-215 (Insertion of Sensitive Information Into Debugging Code) and CWE-214 (Information Exposure Through Debug Log Files). The vulnerability has a CVSS v3.1 base score of 7.4 (high severity) with network attack vector, low attack complexity, no privileges required, and no user interaction needed. The vendor advisory confirms a fix is available in versions 2.11.15 and 2.12.6. Workarounds include avoiding passing credentials via argv and disabling the monitoring port if secrets are passed this way. The monitoring port should not be exposed to untrusted networks.

Potential Impact

An attacker with network access to the monitoring port can obtain sensitive static client credentials by accessing the /debug/vars endpoint, leading to a confidentiality breach of authentication secrets. This could allow unauthorized access to the messaging system if the credentials are reused or provide further attack opportunities. The vulnerability does not impact integrity or availability directly.

Mitigation Recommendations

A fix is available in nats-server versions 2.11.15 and 2.12.6; upgrading to these or later versions is recommended. As a workaround, do not pass static credentials via command-line arguments; instead, configure them in a configuration file. Additionally, do not enable the monitoring port if credentials are passed via argv. Ensure the monitoring port is not exposed to untrusted or public networks to prevent unauthorized access. Follow vendor guidance and apply official patches when possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-18T02:42:27.509Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-33247","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:22347","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21769","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:23345","vendor":"Red Hat"}]

Threat ID: 69c4427ef4197a8e3b7e9796

Added to database: 03/25/2026, 20:15:58 UTC

Last enriched: 08/13/2026, 16:34:20 UTC

Last updated: 09/26/2026, 13:47:44 UTC

Views: 185

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses