GHSA-9m6v-8fxc-4r44 — sulu/sulu
GHSA-9m6v-8fxc-4r44 is a security vulnerability in sulu/sulu. A fix is available for sulu/sulu — see the affected versions and patch details below.
Sulu: Used API Keys may be available via Admin API
Real-World Exposure
sulu/sulu🐘sulu/suluReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | sulu/sulu | ≥ 3.0.0-alpha1&&< 3.0.6 | 3.0.6composer require sulu/sulu:^3.0.6 |
| 🐘Packagist | sulu/sulu | all versions | 2.6.23composer require sulu/sulu:^2.6.23 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for sulu/sulu, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update sulu/sulu to 3.0.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-9m6v-8fxc-4r44 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-9m6v-8fxc-4r44 in your dependencies?
Find it across Packagist, including transitive dependencies.