CVE-2023-41041
Java vulnerability analysis and mitigation

Overview

Graylog, a free and open log management platform, was found to have a session management vulnerability (CVE-2023-41041) affecting versions from 1.0.0 up to versions 5.0.9 and 5.1.3. The vulnerability was discovered and disclosed in July 2023, where in a multi-node Graylog cluster setup, user sessions remained active and usable for API requests even after explicit user logout, until reaching their original expiry time (GitHub Advisory).

Technical details

The vulnerability stems from the session management implementation in multi-node clusters. Each node maintains an in-memory cache of user sessions, loading sessions from the database upon cache-miss. When a user logs out, the session is removed from the node-local cache and deleted from the database, but other nodes continue using their cached version. The vulnerability can be exploited by preventing session updates through the 'X-Graylog-No-Session-Extension:true' header in requests, allowing the node to consider the cached session valid until timeout. The issue has been assigned a CVSS v3.1 score of 3.1 (LOW) (NVD).

Impact

While no session identifiers are leaked, the vulnerability allows previously valid sessions to remain usable for API requests against the Graylog cluster even after user logout. The impact is limited to the configured session lifetime from the time of logout. Although the UI shows the login screen after logout, giving users the impression of session termination, compromised session credentials could still be used to make API requests (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been addressed in Graylog versions 5.0.9 and 5.1.3. Users are advised to upgrade to these patched versions. The fix includes improvements to session management across cluster nodes and proper session invalidation upon logout (GitHub Advisory, GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • opensearch-2
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-pure-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 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