CVE-2026-34372: Sulu/sulu Sulu Checks Fix Permissions For Vulnerability

MODERATE
Advisory Identifier: GHSA-6h7h-m7p5-hjqp
CWE-288
Published
Advisory Summary

CVE-2026-34372 is a MODERATE sulu checks fix permissions for vulnerability (CWE-288: Authentication Bypass Using an Alternate Path or Channel) affecting Sulu/sulu libraries in the Packagist ecosystem. The issue involves sulu checks fix permissions for subentities endpoints. Remediation is available by upgrading affected packages to version 2.6.22, 3.0.5.

CVE-2026-34372 at a Glance

CVE Identifier CVE-2026-34372
GHSA Identifier GHSA-6h7h-m7p5-hjqp
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-288: Authentication Bypass Using an Alternate Path or Channel
Affected Product Sulu/sulu
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2026-34372

To remediate this vulnerability, upgrade all affected Sulu/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: 2.6.22
Upgrade sulu/sulu to 2.6.22
sulu/sulu fixed: 3.0.5
Upgrade sulu/sulu to 3.0.5
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 CVE-2026-34372, inspect your project dependencies for Sulu/sulu:

inspect dependencies for sulu/sulu

Analyze the terminal output to locate any version of Sulu/sulu in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.22), 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-288: Authentication Bypass Using an Alternate Path or Channel, where the product requires authentication, but the product has an alternate path or channel that does not require authentication. In Sulu/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 A user which has permission for the Sulu Admin via atleast one role could have access to the subentities of contacts via the admin API without even have permission for contacts. ### Patches The issue was patched in release 2.6.22 and 3.0.5. ### Workarounds Create a Symfony Request Listener checking the permissions for the specific roles. ### Resources Github Advisory: https://github.com/sulu/sulu/security/advisories/GHSA-6h7h-m7p5-hjqp

CVE-2026-34372 Affected Sulu/sulu Versions

2 component(s)
Fixed Versions:
2.6.223.0.5
Product / Package Ecosystem Affected Versions Fixed Version
sulu/sulu
Packagist
≥ 1.0.0
< 2.6.22
2.6.22
sulu/sulu
Packagist
≥ 3.0.0
< 3.0.5
3.0.5

References

Frequently Asked Questions

What is CVE-2026-34372?
CVE-2026-34372 is a security vulnerability in Sulu/sulu involving Sulu checks fix permissions for subentities endpoints under CWE-288: Authentication Bypass Using an Alternate Path or Channel.
Which Sulu/sulu versions are affected?
Affected versions include releases prior to 2.6.22, 3.0.5 across affected packages: sulu/sulu.
What version fixes CVE-2026-34372?
Upgrading to 2.6.22, 3.0.5 (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 2.6.22, 3.0.5. Upgrade your dependency to 2.6.22, 3.0.5 or later.
What CWE is associated with CVE-2026-34372?
CVE-2026-34372 is classified under CWE-288: Authentication Bypass Using an Alternate Path or Channel (The product requires authentication, but the product has an alternate path or channel that does not require authentication.).
How can I check Packagist dependencies for CVE-2026-34372?
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-6h7h-m7p5-hjqp",
  "modified" : "2026-03-31T21:40:41Z",
  "published" : "2026-03-30T18:04:10Z",
  "aliases" : [ "CVE-2026-34372" ],
  "summary" : "Sulu checks fix permissions for subentities endpoints",
  "details" : "### Impact\n\nA user which has permission for the Sulu Admin via atleast one role could have access to the subentities of contacts via the admin API without even have permission for contacts.\n\n### Patches\n\nThe issue was patched in release 2.6.22 and 3.0.5.\n\n### Workarounds\n\nCreate a Symfony Request Listener checking the permissions for the specific roles.\n\n### Resources\n\nGithub Advisory: https://github.com/sulu/sulu/security/advisories/GHSA-6h7h-m7p5-hjqp",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/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" : "1.0.0"
      }, {
        "fixed" : "2.6.22"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "sulu/sulu"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/security/advisories/GHSA-6h7h-m7p5-hjqp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-34372"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sulu/sulu"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/releases/tag/2.6.22"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/releases/tag/3.0.5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-288" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-30T18:04:10Z",
    "nvd_published_at" : "2026-03-31T21:16:29Z"
  }
}