GHSA-9m6v-8fxc-4r44: Sulu Used API Keys May Be Vulnerability

LOW
CWE-284
Published
Advisory Summary

GHSA-9m6v-8fxc-4r44 is a LOW used api keys may be vulnerability (CWE-284: Improper Access Control) affecting Sulu libraries in the Packagist ecosystem. The issue involves used api keys may be available via admin api. Remediation is available by upgrading affected packages to version 3.0.6, 2.6.23.

GHSA-9m6v-8fxc-4r44 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-9m6v-8fxc-4r44
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product Sulu
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-9m6v-8fxc-4r44

To remediate this vulnerability, upgrade all affected Sulu dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

sulu/sulu fixed: 3.0.6
Upgrade sulu/sulu to 3.0.6
sulu/sulu fixed: 2.6.23
Upgrade sulu/sulu to 2.6.23
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for sulu/sulu

How to Check if You Are Affected

To determine whether your application is affected by GHSA-9m6v-8fxc-4r44, inspect your project dependencies for Sulu:

inspect dependencies for sulu/sulu

Analyze the terminal output to locate any version of Sulu in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Sulu, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

GHSA-9m6v-8fxc-4r44 Affected Sulu Versions

2 component(s)
Fixed Versions:
3.0.62.6.23
Product / Package Ecosystem Affected Versions Fixed Version
sulu/sulu
Packagist
≥ 3.0.0-alpha1
< 3.0.6
3.0.6
sulu/sulu
Packagist
< 2.6.23
2.6.23

References

Frequently Asked Questions

What is GHSA-9m6v-8fxc-4r44?
GHSA-9m6v-8fxc-4r44 is a security vulnerability in Sulu involving Used API Keys may be available via Admin API under CWE-284: Improper Access Control.
Which Sulu versions are affected?
Affected versions include releases prior to 3.0.6, 2.6.23 across affected packages: sulu/sulu.
What version fixes GHSA-9m6v-8fxc-4r44?
Upgrading to 3.0.6, 2.6.23 (or the latest patched release for your respective branch) resolves the vulnerability.
Is sulu/sulu affected?
Yes, sulu/sulu is affected in releases prior to 3.0.6, 2.6.23. Upgrade your dependency to 3.0.6, 2.6.23 or later.
What CWE is associated with GHSA-9m6v-8fxc-4r44?
GHSA-9m6v-8fxc-4r44 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Packagist dependencies for GHSA-9m6v-8fxc-4r44?
Run the dependency tree command: 'inspect dependencies for sulu/sulu'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9m6v-8fxc-4r44",
  "modified" : "2026-05-18T17:34:06Z",
  "published" : "2026-05-18T17:34:06Z",
  "aliases" : [ ],
  "summary" : "Sulu: Used API Keys may be available via Admin API",
  "details" : "### Impact\n\nThe 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.\n\n### Patches\n\nA patch is released with Version 2.6.23 and 3.0.5.\n\n### Workarounds\n\nRemove the field descriptor by patch the UserController.php File in Sulu Security Bundle.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "sulu/sulu"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0-alpha1"
      }, {
        "fixed" : "3.0.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.0.5"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "sulu/sulu"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.6.23"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.6.22"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/security/advisories/GHSA-9m6v-8fxc-4r44"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sulu/sulu"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/releases/tag/2.6.23"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/releases/tag/3.0.6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-18T17:34:06Z",
    "nvd_published_at" : null
  }
}