CVE-2021-37759
NixOS vulnerability analysis and mitigation

Overview

A Session ID leak vulnerability was discovered in Graylog before version 4.1.2, tracked as CVE-2021-37759. The vulnerability affects the DEBUG log file and allows attackers to escalate privileges to the access level of the leaked session ID. The issue has been present since Graylog v0.20.0 for local DEBUG log file leaks and since v2.1.1 for audit log leaks (Vendor Advisory).

Technical details

The vulnerability stems from session IDs being exposed in two locations: the DEBUG log file (which is not enabled by default) and the Graylog Enterprise Audit Log. When exploited, an attacker can obtain and use these leaked session IDs to authenticate against Graylog, gaining all permissions associated with the owner of the session ID. The vulnerability has been assigned a CVSS v3.1 base score of 9.8 CRITICAL (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) (NVD).

Impact

The vulnerability allows attackers to take over valid session IDs and authenticate against Graylog with elevated privileges. Once authenticated, the attacker gains access to all permissions associated with the original session ID owner, potentially leading to unauthorized access to sensitive data and system controls (Vendor Advisory).

Mitigation and workarounds

The vulnerability was patched in Graylog v4.1.2. Upon updating to the new version, Graylog automatically invalidates all open sessions. For users unable to upgrade immediately, the workaround involves manually deleting each open session from MongoDB. It is strongly recommended that all users upgrade to the patched version as soon as possible (Vendor Advisory).

Community reactions

The vulnerability was responsibly disclosed by David Herbstmann on July 26, 2021. Graylog confirmed the vulnerability the same day and quickly developed a patch, making the release available to the public by July 30, 2021 (Vendor Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management