Sulu: Used API Keys may be available via Admin API

Description

Impact

The users endpoint controller exposes a project's apiKey field to the logged-in user, provided they have permission for that endpoint. This only has impact if a project itself uses that specific field, Sulu itself does nothing with it and has no authentication per apiKey in its core.

Patches

A patch is released with Version 2.6.23 and 3.0.5.

Workarounds

Remove the field descriptor by patch the UserController.php File in Sulu Security Bundle.

Basic information

Type
reviewed
Severity
low
Advisory on GitHub
Open advisory ↗
Repository advisory
Open repository advisory ↗
Source code
Browse source ↗
Published (advisory)
2026-05-18 17:34:06 UTC
Updated
2026-05-18 17:34:07 UTC
GitHub reviewed
2026-05-18 17:34:06 UTC

CVSS Scores

Base score Version Severity Vector
2.3 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network.
Attack complexity (AC:L)
Exploitation conditions are straightforward and stable.
Attack requirements (AT:P)
Additional preconditions must be present for exploitation.
Privileges required (PR:L)
Low privileges are required.
User interaction (UI:N)
No user interaction is required.
Vulnerable system confidentiality impact (VC:L)
Limited confidentiality impact on the vulnerable system.
Vulnerable system integrity impact (VI:N)
No integrity impact on the vulnerable system.
Vulnerable system availability impact (VA:N)
No availability impact on the vulnerable system.
Subsequent system confidentiality impact (SC:N)
No confidentiality impact on subsequent systems.
Subsequent system integrity impact (SI:N)
No integrity impact on subsequent systems.
Subsequent system availability impact (SA:N)
No availability impact on subsequent systems.

Identifiers

Type Value
GHSA GHSA-9m6v-8fxc-4r44 ↗

CWEs

CWE id Name
CWE-284 Improper Access Control

Credits

  • gangadhar-s-k (reporter)
  • mamazu (remediation_developer)
  • alexander-schranz (coordinator)

Affected packages (2)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
composer sulu/sulu >= 3.0.0-alpha1, <= 3.0.5 3.0.6
composer sulu/sulu <= 2.6.22 2.6.23

References

cvelogic Threat Intelligence