CVE-2025-53106: Graylog vulnerable to privilege escalation through API tokens

Published Jun 30, 2025
·
Updated

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/{userid}/tokens/{tokenname} endpoint ({userid} and {tokenname} may be arbitrary strings).

Other sources

Graylog is a free and open log management platform. In versions 6.2.0 to before 6.2.4 and 6.3.0-alpha.1 to before 6.3.0-rc.2, 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. This issue has been patched in versions 6.2.4 and 6.3.0-rc.2. A workaround involves disabling the respective configuration found in System > Configuration > Users > "Allow users to create personal access tokens".

MITRE

Affected Software

14 affected componentsFixes available
maven/org.graylog2:graylog2-server>=6.3.0-alpha.1<6.3.0-rc.2
6.3.0-rc.2
maven/org.graylog2:graylog2-server>=6.2.0<6.2.4
6.2.4
Graylog Graylog>=6.2.0<6.2.4
Graylog Graylog=6.3.0
Graylog Graylog=6.3.0-alpha1
Graylog Graylog=6.3.0-alpha2
Graylog Graylog=6.3.0-alpha3
Graylog Graylog=6.3.0-alpha4
Graylog Graylog=6.3.0-beta1
Graylog Graylog=6.3.0-beta2
Graylog Graylog=6.3.0-beta3
Graylog Graylog=6.3.0-beta4
Graylog Graylog=6.3.0-beta5
Graylog Graylog=6.3.0-rc1

Event History

Jun 30, 2025
Advisory Published
via GitHub·07:35 PM
Data Sourced
via GitHub·07:35 PM
DescriptionWeaknessAffected Software
Jul 2, 2025
CVE Published
via MITRE·01:28 PM
Data Sourced
via MITRE·01:28 PM
DescriptionWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-53106?

CVE-2025-53106 is classified as a critical vulnerability due to the potential for unauthorized elevated privileges.

2

How do I fix CVE-2025-53106?

To mitigate CVE-2025-53106, upgrade to Graylog version 6.3.0-rc.2 or 6.2.4 as they contain the necessary patches.

3

Who is affected by CVE-2025-53106?

CVE-2025-53106 affects Graylog users who have user accounts and can exploit API token creation for privilege escalation.

4

What kind of attacks can CVE-2025-53106 enable?

CVE-2025-53106 allows attackers to gain escalated privileges by using API tokens to impersonate local Administrator users.

5

What software versions are impacted by CVE-2025-53106?

Versions of Graylog prior to 6.3.0-rc.2 and 6.2.4 are impacted by CVE-2025-53106.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203