CVE-2025-53106: Graylog vulnerable to privilege escalation through API tokens
Impact Graylog users can gain elevated privileges by creating and using API tokens for the local Administrator or any other user for whom the malicious user knows the ID. For the attack to succeed, the attacker needs a user account in Graylog. They can then proceed to issue hand-crafted requests to the Graylog REST API and exploit a weak permission check for token creation.
Published Jun 30, 2025 · Updated Jul 2, 2025
Affected packages
org.graylog2:graylog2-server
- Ecosystem
- Maven
- Affected
- >= 6.2.0, < 6.2.4
- Fixed in
- 6.2.4
- Check
mvn dependency:tree -Dincludes=org.graylog2:graylog2-server
org.graylog2:graylog2-server
- Ecosystem
- Maven
- Affected
- >= 6.3.0-alpha.1, < 6.3.0-rc.2
- Fixed in
- 6.3.0-rc.2
- Check
mvn dependency:tree -Dincludes=org.graylog2:graylog2-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Graylog users can gain elevated privileges by creating and using API tokens for the local Administrator or any other user for whom the malicious user knows the ID.
For the attack to succeed, the attacker needs a user account in Graylog. They can then proceed to issue hand-crafted requests to the Graylog REST API and exploit a weak permission check for token creation.
Workarounds
In Graylog version 6.2.0 and above, regular users can be restricted from creating API tokens. The respective configuration can be found in System > Configuration > Users > "Allow users to create personal access tokens". This option should be *Disabled*, so that only administrators are allowed to create tokens.
Recommended Actions
After upgrading Graylog from a vulnerable version to a patched version, administrators are advised to perform the following steps to ensure the integrity of their system:
Review API tokens
An overview of all existing API tokens is available at System > Users and Teams > Token Management. Please review this list carefully and ensure each token is there for a reason.
Check Audit Log (Graylog Enterprise only)
Graylog Enterprise provides an audit log that can be used to review which API tokens were created when the system was vulnerable. Please search the Audit Log for action:create token and match the *Actor* with the user for whom the token was created. In most cases this should be the same user, but there might be legitimate reasons for users to be allowed to create tokens for other users. If in doubt, please review the user's actual permissions.
Review API token creation requests
Graylog Open does not provide audit logging, but many setups contain infrastructure components, like reverse proxies, in front of the Graylog REST API. These components often provide HTTP access logs. Please check the access logs to detect malicious token creations by reviewing all API token requests to the /api/users/{user_id}/tokens/{token_name} endpoint ({user_id} and {token_name} may be arbitrary strings).
Credited to thll.
References
- https://github.com/Graylog2/graylog2-server/security/advisories/GHSA-3m86-c9x3-vwm9
- https://github.com/Graylog2/graylog2-server/commit/6936bd16a783c2944a3d2f1e83902062520f90e3
- https://github.com/Graylog2/graylog2-server/commit/9215b8f1fd32566c31e6f7447ed864df3590c157
- https://nvd.nist.gov/vuln/detail/CVE-2025-53106
- https://github.com/advisories/GHSA-3m86-c9x3-vwm9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-69190
Graylog: Manager-to-Owner privilege escalation on saved searches and dashboards
medium6.3Sep 22, 2026CVE-2026-55425
Graylog Server: System Catalog titles endpoint can be used to retrieve values of protected database fields
medium5.0Aug 28, 2026CVE-2026-55841
Fortigate syslog message parser can be exploited to modify or delete fields from the original message
high7.5Aug 28, 2026CVE-2026-55867
Graylog token revocation endpoint allows authenticated users to delete other users’ access tokens
medium5.3Aug 28, 2026CVE-2025-46827
Graylog Allows Session Takeover via Insufficient HTML Sanitization
high8.0May 7, 2025GHSA-q9q2-3ppx-mwqf
Graylog Allows Stored Cross-Site Scripting via Files Plugin and API Browser
high7.3May 7, 2025
