Wysoka

Graylog vulnerable to privilege escalation through API tokens

  • Ujawniono: 30.06.2025
  • Aktualizacja: 11.10.2026 12:21

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

Czego dotyczy

Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.

PlatformaPaczkaPodatne wersjePoprawka w wersji
Java / Kotlin (Maven) org.graylog2:graylog2-server >= 6.2.0, < 6.2.4, >= 6.3.0-alpha.1, < 6.3.0-rc.2 6.2.4, 6.3.0-rc.2

Odnośniki

Ocena CVSS -
Wektor CVSS
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
Słabość (CWE)
CWE-285
Platforma
Java / Kotlin (Maven)
Paczka
org.graylog2:graylog2-server
Ujawniono
30.06.2025
Aktualizacja
11.10.2026 12:21

Źródła i licencje

OSV / GitHub Advisory Database - GHSA-3m86-c9x3-vwm9 - CC BY 4.0

Historia podatności: org.graylog2:graylog2-server

Wszystkie opisane podatności tej paczki (Java / Kotlin (Maven)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.

Wszystkie (16) w archiwum
Wszystkich wpisów
16
Pierwsza → ostatnia
05.2022 09.2026
Bez poprawki
0
Wykorzystywana w atakach
0

Rozkład istotności

  • Wysoka 5
  • Średnia 8
  • Niska 3

Ujawnienia w latach

  1. 2022: 3
  2. 2023: 3
  3. 2024: 2
  4. 2025: 4
  5. 2026: 4
Istotność:
  1. Wysoka · 7.5 CVE-2026-55841 < 6.3.12, >= 7.0.0, < 7.0.7, >= 7.1.0, < 7.1.2 6.3.12, 7.0.7, 7.1.2
  2. Graylog vulnerable to privilege escalation through API tokens ten wpis
    Wysoka CVE-2025-53106 >= 6.2.0, < 6.2.4, >= 6.3.0-alpha.1, < 6.3.0-rc.2 6.2.4, 6.3.0-rc.2
  3. Wysoka · 8.0 CVE-2025-46827 < 6.0.14, >= 6.1.0, < 6.1.10 6.0.14, 6.1.10
  4. Wysoka · 7.3 ghsa-q9q2-3ppx-mwqf < 6.2.0 6.2.0
  5. Wysoka · 8.8 CVE-2024-24824 >= 2.0.0, < 5.1.11, >= 5.2.0-alpha.1, < 5.2.4 5.1.11, 5.2.4

Dowiedz się, które podatności dotyczą Twojej aplikacji

Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.

Podłącz swoją aplikację
Newsletter DockRay

Bezpieczeństwo aplikacji w Twojej skrzynce

Najważniejsze podatności, konkretne zalecenia i praktyczne wskazówki dla Twoich aplikacji. Wybierz technologie i śledź to, co ma znaczenie dla Twojego projektu.

  • Codzienne zestawienie nowych podatności, także krytycznych.
  • Powiadomienia o ważnych aktualizacjach.
  • Praktyczne porady o bezpieczeństwie i monitoringu aplikacji.

Pozostaw puste, aby otrzymywać informacje o wszystkich technologiach.

Zapis jest bezpłatny. Wypiszesz się jednym kliknięciem w wiadomości.