GitHub Advisoryadvisory · Packagist

GHSA-h6cx-gjxx-v25c Sulu: Media move/update authorization bypass (IDOR)

MEDIUM Published 2026-09-02 Modified 2026-09-02 Official page ↗
Aliases
CVE-2026-82395
Ecosystem
Packagist
Packages
sulu/sulu
Severity
Moderate
CVSS vector
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
Weaknesses
CWE-639, CWE-863
Reviewed
2026-09-02

Affected packages

• Packagist sulu/sulu: < 2.6.25 → fixed in 2.6.25 • Packagist sulu/sulu: >= 3.0.0-alpha1, < 3.0.8 → fixed in 3.0.8

Description

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()`.

Related

Alias · CVE (1)

  • CVE-2026-82395 Sulu is an open-source PHP content management system based on the Symfony framework. vulnerability

Weakness · CWE (2)

  • CWE-639 Authorization Bypass Through User-Controlled Key weakness
  • CWE-863 Incorrect Authorization weakness

References