CVE-2026-82395: Sulu Media Move/update Authorization Bypass (IDOR) Vulnerability
MODERATECVE-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
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.
Upgrade sulu/sulu to 2.6.25
Upgrade sulu/sulu to 3.0.8
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
CVE-2026-82395 Affected Sulu Versions
2 component(s)| 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?
Which Sulu versions are affected?
What version fixes CVE-2026-82395?
Is sulu/sulu affected?
What CWE is associated with CVE-2026-82395?
How can I check Packagist dependencies for CVE-2026-82395?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}