CVE-2023-41041
User session is still usable after logout in graylog2-server
Also known as GHSA-3fqm-frhg-7c85
Mitigation
- Upgrade org.graylog2:graylog2-server to one of 5.0.9, 5.1.3 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.graylog2:graylog2-server (>= 1.0, < 5.0.9)
- Anyone running graylog2-server >= 5.1.0, < 5.1.3; >= 1.0.0, < 5.0.9
Vulnerability facts
- Affected
- org.graylog2:graylog2-server >= 1.0, < 5.0.9
- Fixed in
- 5.0.9, 5.1.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 2.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 0.44% chance of exploitation in 30 days (percentile 30, 2026-11-26)
- CWE
- CWE-613
- Modified
Description
Graylog is a free and open log management platform. In a multi-node Graylog cluster, after a user has explicitly logged out, a user session may still be used for API requests until it has reached its original expiry time. Each node maintains an in-memory cache of user sessions. Upon a cache-miss, the session is loaded from the database. After that, the node operates solely on the cached session. Modifications to sessions will update the cached version as well as the session persisted in the database. However, each node maintains their isolated version of the session. When the user logs out, the session is removed from the node-local cache and deleted from the database. The other nodes will however still use the cached session. These nodes will only fail to accept the session id if they intent to update the session in the database. They will then notice that the session is gone. This is true for most API requests originating from user interaction with the Graylog UI because these will lead to an update of the session's "last access" timestamp. If the session update is however prevented by setting the `X-Graylog-No-Session-Extension:true` header in the request, the node will consider the (cached) session valid until the session is expired according to its timeout setting. No session identifiers are leaked. After a user has logged out, the UI shows the login screen again, which gives the user the impression that their session is not valid anymore. However, if the session becomes compromised later, it can still be used to perform API requests against the Graylog cluster. The time frame for this is limited to the configured session lifetime, starting from the time when the user logged out. This issue has been addressed in versions 5.0.9 and 5.1.3. Users are advised to upgrade.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.graylog2:graylog2-server | >= 1.0, < 5.0.9 | 5.0.9, 5.1.3 | osv |
| graylog2-server | >= 5.1.0, < 5.1.3; >= 1.0.0, < 5.0.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-41041. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-41041.md Affected: org.graylog2:graylog2-server >= 1.0, < 5.0.9 Fixed in: 5.0.9, 5.1.3 Steps: 1. Search this machine and project for org.graylog2:graylog2-server (Maven), graylog2-server: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2023-41041 being exploited?
There is no confirmed exploitation: CVE-2023-41041 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-41041?
Low: CVSS 2.6 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-41041?
org.graylog2:graylog2-server >= 1.0, < 5.0.9.
Is there a fix for CVE-2023-41041?
Yes. Fixed in 5.0.9, 5.1.3. Upgrade org.graylog2:graylog2-server to one of 5.0.9, 5.1.3 (or later in the same release line).
How do I check if I'm affected by CVE-2023-41041?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.