CVE-2026-82395: Sulu Media Move/update Authorization Bypass (IDOR) Vulnerability

MODERATE
Advisory Identifier: GHSA-h6cx-gjxx-v25c
CWE-639 CWE-863
Published
Advisory Summary

CVE-2026-82395 is a MODERATE media move/update authorization bypass (idor) vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Sulu libraries in the Packagist ecosystem. The issue involves media move/update authorization bypass (idor). Remediation is available by upgrading affected packages to version 2.6.25, 3.0.8.

CVE-2026-82395 at a Glance

CVE Identifier CVE-2026-82395
GHSA Identifier GHSA-h6cx-gjxx-v25c
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product Sulu
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2026-82395

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: 2.6.25
Upgrade sulu/sulu to 2.6.25
sulu/sulu fixed: 3.0.8
Upgrade sulu/sulu to 3.0.8
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-82395, 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 2.6.25), 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-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. 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 A media move authorization bypass (IDOR) lets a backend user move a media out of a collection they have no access to. The media move endpoint resolves its permission check from the `collection` value in the request rather than from the media's real collection. `MediaManager::move()` then reassigns the media without re-checking its actual source collection. A user who has edit rights on collection A but no rights on a restricted collection B can move a media that lives in B by naming A in the request. The move succeeds, the media ends up in A, and the user can then view and download content they were never allowed to see. This only affects installations that use per-collection (object level) permissions to restrict some collections. Exploitation requires an authenticated backend user with edit rights on at least one collection, and knowledge of the target media id. ### Patches Fixed in **2.6.25** and **3.0.8**. `MediaManager::move()` now verifies edit permission on the media's real source collection and on the destination collection before moving it. ### Workarounds If you cannot upgrade immediately: - Restrict the media edit permission to trusted users, so untrusted users cannot trigger a move. - Apply the fix manually by adding an edit permission check on the media's real source collection (and the destination) inside `MediaManager::move()`.

CVE-2026-82395 Affected Sulu Versions

2 component(s)
Fixed Versions:
2.6.253.0.8
Product / Package Ecosystem Affected Versions Fixed Version
sulu/sulu
Packagist
< 2.6.25
2.6.25
sulu/sulu
Packagist
≥ 3.0.0-alpha1
< 3.0.8
3.0.8

References

Frequently Asked Questions

What is CVE-2026-82395?
CVE-2026-82395 is a security vulnerability in Sulu involving Media move/update authorization bypass (IDOR) under CWE-639: Authorization Bypass Through User-Controlled Key.
Which Sulu versions are affected?
Affected versions include releases prior to 2.6.25, 3.0.8 across affected packages: sulu/sulu.
What version fixes CVE-2026-82395?
Upgrading to 2.6.25, 3.0.8 (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.25, 3.0.8. Upgrade your dependency to 2.6.25, 3.0.8 or later.
What CWE is associated with CVE-2026-82395?
CVE-2026-82395 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Packagist dependencies for CVE-2026-82395?
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-h6cx-gjxx-v25c",
  "modified" : "2026-09-02T14:57:25Z",
  "published" : "2026-09-02T14:57:25Z",
  "aliases" : [ "CVE-2026-82395" ],
  "summary" : "Sulu: Media move/update authorization bypass (IDOR)",
  "details" : "### Impact\n\nA media move authorization bypass (IDOR) lets a backend user move a media out of a collection they have no access to.\n\nThe media move endpoint resolves its permission check from the `collection` value in the request rather than from the media's real collection. `MediaManager::move()` then reassigns the media without re-checking its actual source collection. A user who has edit rights on collection A but no rights on a restricted collection B can move a media that lives in B by naming A in the request. The move succeeds, the media ends up in A, and the user can then view and download content they were never allowed to see.\n\nThis only affects installations that use per-collection (object level) permissions to restrict some collections. Exploitation requires an authenticated backend user with edit rights on at least one collection, and knowledge of the target media id.\n\n### Patches\n\nFixed in **2.6.25** and **3.0.8**. `MediaManager::move()` now verifies edit permission on the media's real source collection and on the destination collection before moving it.\n\n### Workarounds\n\nIf you cannot upgrade immediately:\n\n- Restrict the media edit permission to trusted users, so untrusted users cannot trigger a move.\n- Apply the fix manually by adding an edit permission check on the media's real source collection (and the destination) inside `MediaManager::move()`.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "sulu/sulu"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.6.25"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.6.24"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "sulu/sulu"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0-alpha1"
      }, {
        "fixed" : "3.0.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/security/advisories/GHSA-h6cx-gjxx-v25c"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-82395"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/commit/2b959de75d61b98433e42db462c246ed9e4ce793"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/sulu/sulu"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/releases/tag/2.6.25"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/sulu/sulu/releases/tag/3.0.8"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639", "CWE-863" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-02T14:57:25Z",
    "nvd_published_at" : "2026-08-31T22:17:22Z"
  }
}