Skip to content
graylog2-serverGHSA-3m86-c9x3-vwm9

Graylog vulnerable to privilege escalation through API tokens

HighCVE-2025-53106 · Published Jun 30, 2025 · updated Jul 2, 2025

GitHub advisory

Affected versions

PackageAffectedFixed in
org.graylog2:graylog2-server
Maven
>= 6.2.0, < 6.2.46.2.4
>= 6.3.0-alpha.1, < 6.3.0-rc.26.3.0-rc.2
Details and references

### 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).

CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-285
Also known as
CVE-2025-53106

More graylog2-server advisories

All
DateAdvisory
May 72025Graylog Allows Session Takeover via Insufficient HTML Sanitization
CVE-2025-46827High8.0fixed in 6.0.14, 6.1.10
May 72025Graylog Allows Stored Cross-Site Scripting via Files Plugin and API Browser
GHSA-q9q2-3ppx-mwqfHigh7.3fixed in 6.2.0
Apr 72025Graylog's Authenticated HTTP inputs ingest message even if Authorization header is missing or has wrong value
CVE-2025-30373Medium6.5fixed in 6.1.9
Aug 28Graylog Server: System Catalog titles endpoint can be used to retrieve values of protected database fields
CVE-2026-55425Medium5.0fixed in 7.1.4
Aug 28Fortigate syslog message parser can be exploited to modify or delete fields from the original message
CVE-2026-55841High7.5fixed in 6.3.12, 7.0.7, 7.1.2
Aug 28Graylog token revocation endpoint allows authenticated users to delete other users’ access tokens
CVE-2026-55867Mediumfixed in 6.3.12, 7.0.7, 7.1.2

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.