/

CVE-2026-119649

Severity:

HIGH RISK

(7.1)

Improper Authorization (CWE-863) in Orchard CMS Media

CVE-2026-119649

Deferred

Vulnerability type

Category:

Improper Authorization

CWE:

CWE-863

Impact:

Unauthorized access, modification, and deletion of media content

Severity:

HIGH RISK

(7.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Orchard CMS contains an improper authorization vulnerability in media permission checks that may allow authenticated Authors and Contributors to access media owned by other users. Depending on the affected operation, an attacker could display, clone, or delete other users' media and may delete arbitrary media folders.

Orchard CMS contains an improper authorization vulnerability in media permission checks that may allow authenticated Authors and Contributors to access media owned by other users. Depending on the affected operation, an attacker could display, clone, or delete other users' media and may delete arbitrary media folders.

Affected context

The vulnerability occurs in Orchard CMS versions 1.10.3 through 1.11 when media operations rely on the vulnerable permission logic in MediaLibraryService.CheckMediaFolderPermission() or folder deletion handling in FolderController.Delete(). Risk is present when lower-privileged authenticated users, such as Authors or Contributors, can submit requests containing media or folder identifiers without effective ownership and authorization enforcement.

The vulnerability occurs in Orchard CMS versions 1.10.3 through 1.11 when media operations rely on the vulnerable permission logic in MediaLibraryService.CheckMediaFolderPermission() or folder deletion handling in FolderController.Delete(). Risk is present when lower-privileged authenticated users, such as Authors or Contributors, can submit requests containing media or folder identifiers without effective ownership and authorization enforcement.

Exploit preconditions

  • Attack surface: Authenticated Orchard CMS media and folder management endpoints
  • Required access: A valid account with Author or Contributor privileges
  • Trigger point: Requests that display, clone, or delete media by content ID, or delete media folders
  • Why exploitation is possible: Authorization checks may not correctly enforce ownership or permitted folder scope for the requested resource
  • Attack surface: Authenticated Orchard CMS media and folder management endpoints
  • Required access: A valid account with Author or Contributor privileges
  • Trigger point: Requests that display, clone, or delete media by content ID, or delete media folders
  • Why exploitation is possible: Authorization checks may not correctly enforce ownership or permitted folder scope for the requested resource

Why this happens

The underlying bug is an authorization failure in which access decisions do not reliably verify whether the authenticated user is permitted to operate on the target media item or folder. This maps to CWE-863: Incorrect Authorization, where a system performs an authorization check but applies it incorrectly or incompletely, allowing a user to exceed the intended permission boundary.

The underlying bug is an authorization failure in which access decisions do not reliably verify whether the authenticated user is permitted to operate on the target media item or folder. This maps to CWE-863: Incorrect Authorization, where a system performs an authorization check but applies it incorrectly or incompletely, allowing a user to exceed the intended permission boundary.

Potential impact

  • Authenticated users may view media belonging to other users
  • Attackers could clone or duplicate unauthorized media items
  • Other users' media may be deleted
  • Arbitrary media folders could potentially be removed
  • Content availability, integrity, and privacy may be affected
  • Authenticated users may view media belonging to other users
  • Attackers could clone or duplicate unauthorized media items
  • Other users' media may be deleted
  • Arbitrary media folders could potentially be removed
  • Content availability, integrity, and privacy may be affected

General mitigation guidance

Mitigation generally focuses on making authorization decisions resource-specific, deny-by-default, and independent of user-supplied identifiers.

Common defensive patterns include:

  • Enforcing ownership and folder-scope checks for every media operation
  • Centralizing authorization policy evaluation rather than duplicating inconsistent checks
  • Validating that the requested resource belongs to an allowed tenant, user, or content scope
  • Avoiding reliance on client-supplied IDs as evidence of permission
  • Applying least privilege to Author and Contributor roles
  • Requiring explicit authorization before destructive actions such as deletion
  • Recording and reviewing sensitive media access and deletion events

Mitigation generally focuses on making authorization decisions resource-specific, deny-by-default, and independent of user-supplied identifiers.

Common defensive patterns include:

  • Enforcing ownership and folder-scope checks for every media operation
  • Centralizing authorization policy evaluation rather than duplicating inconsistent checks
  • Validating that the requested resource belongs to an allowed tenant, user, or content scope
  • Avoiding reliance on client-supplied IDs as evidence of permission
  • Applying least privilege to Author and Contributor roles
  • Requiring explicit authorization before destructive actions such as deletion
  • Recording and reviewing sensitive media access and deletion events

How teams detect issues like this

Organizations can detect similar authorization weaknesses through:

  • Static analysis and review rules that identify resource lookups performed without a subsequent ownership or scope check
  • Code review of controller actions and service methods that accept content or folder identifiers
  • Authorization matrix testing across Authors, Contributors, administrators, and resource owners
  • Negative tests confirming that users cannot access, clone, or delete resources outside their permitted scope
  • Policy enforcement requiring authorization checks before all read, write, clone, and delete operations
  • Monitoring for unusual cross-user media access or deletion activity

Organizations can detect similar authorization weaknesses through:

  • Static analysis and review rules that identify resource lookups performed without a subsequent ownership or scope check
  • Code review of controller actions and service methods that accept content or folder identifiers
  • Authorization matrix testing across Authors, Contributors, administrators, and resource owners
  • Negative tests confirming that users cannot access, clone, or delete resources outside their permitted scope
  • Policy enforcement requiring authorization checks before all read, write, clone, and delete operations
  • Monitoring for unusual cross-user media access or deletion activity

Sources

SourceLink
github.comgithub.com/OrchardCMS/Orchard
github.comgithub.com/OrchardCMS/Orchard/blob/1.11/src/Orchard.Web/Modules/Orchard.MediaLibrary/Services/IMediaLibraryService.cs#L169-L177
github.comgithub.com/OrchardCMS/Orchard/blob/1.11/src/Orchard.Web/Modules/Orchard.MediaLibrary/Services/MediaLibraryService.cs#L281-L302
github.comgithub.com/OrchardCMS/Orchard/issues/8895
hackmd.iohackmd.io/@hieuPenguinnn/orchard-media-library-cross-user-broken-access-control
vulncheck.comvulncheck.com/advisories/orchard-cms-1.10.3-through-1.11-improper-authorization-via-media-library-folder-permission-check

Frequently asked

questions

Exploitation generally requires authentication as an Orchard CMS Author or Contributor, along with access to the affected media or folder functionality.

The described operations use media content IDs or folder targets, so exploitation may depend on obtaining or predicting identifiers accepted by the application.

Enforce a server-side, resource-level authorization decision for every media and folder operation, including reads, cloning, and deletion.

Maintain a role-and-resource authorization matrix, use deny-by-default policies, test cross-user access boundaries, and monitor destructive media actions.

Exploitation generally requires authentication as an Orchard CMS Author or Contributor, along with access to the affected media or folder functionality.

The described operations use media content IDs or folder targets, so exploitation may depend on obtaining or predicting identifiers accepted by the application.

Enforce a server-side, resource-level authorization decision for every media and folder operation, including reads, cloning, and deletion.

Maintain a role-and-resource authorization matrix, use deny-by-default policies, test cross-user access boundaries, and monitor destructive media actions.

Find out what's already
exploitable in your codebase.