/

CVE-2026-47231

Severity:

HIGH RISK

(8.1)

Broken Access Control (CWE-639) in Admidio File Module

CVE-2026-47231

Deferred

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-639, CWE-863

Impact:

Unauthorized file disclosure and tampering

Severity:

HIGH RISK

(8.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

Admidio contains an authorization flaw in its document and file move workflow that allows users with upload access to one folder to move files from unrelated folders. This may expose files from private folders and remove them from their original locations, affecting both confidentiality and integrity.

Affected context

The vulnerability occurs in the document management workflow when a state-changing request authorizes the destination folder but does not verify the user's permission to access the source file's folder. Deployments are at risk when users can upload to at least one folder and the file-move functionality is available.

Exploit preconditions

  • Attack surface: Admidio document and file management functionality
  • Required access: An account with upload permission for at least one folder
  • Trigger point: The file move operation using separate source-file and destination-folder identifiers
  • Why exploitation is possible: Authorization is checked for the destination folder but not for the source folder associated with the selected file

Why this happens

The underlying flaw is an object-level authorization failure caused by validating only one resource in a multi-resource operation. The move workflow checks whether the actor may upload to the destination folder, but fails to confirm that the actor may view, modify, or remove the source file. This maps primarily to CWE-639: Authorization Bypass Through User-Controlled Key and is also consistent with CWE-863: Incorrect Authorization.

Potential impact

  • Private file contents may be disclosed to unauthorized users
  • Files may be removed from their original folders
  • Users may relocate or tamper with files outside their authorized scope
  • Organizational records and document structure may be disrupted
  • Confidentiality and integrity of stored documents may be compromised

General mitigation guidance

Mitigation should apply authorization checks to every resource involved in a state-changing operation, rather than relying solely on destination permissions.

Common defensive patterns include:

  • Verify source-file ownership or access rights before permitting a move
  • Confirm destination permissions independently
  • Resolve resource identifiers server-side and authorize the complete operation
  • Avoid trusting client-supplied identifiers as evidence of authorization
  • Use centralized, deny-by-default authorization policy enforcement
  • Apply least privilege to file-management roles
  • Log and review cross-folder file moves, especially involving restricted locations

How teams detect issues like this

Organizations can identify similar issues through:

  • Static analysis for authorization checks that cover only one of several user-controlled resource identifiers
  • Code review of move, copy, rename, export, and sharing operations
  • Tests that attempt cross-tenant, cross-folder, and private-to-public resource transitions
  • Policy checks requiring source and destination authorization for multi-object state changes
  • Audit monitoring for unexpected access to or movement of files from restricted folders
  • Automated security testing that exercises object-level authorization boundaries

Sources

SourceLink
github.comgithub.com/Admidio/admidio/security/advisories/GHSA-x628-457g-2pw9

Frequently asked

questions

Yes. A user who has upload access to another folder may be able to move a file from a folder they cannot view into a folder they control, after which the file may become accessible to them.

The key prerequisite is an authenticated account with upload permission for at least one folder and access to the file-move workflow. Broad administrative privileges are not necessarily required.

Authorize both the source file and the destination folder for every move operation. The server should independently resolve the resources and enforce permissions before changing file location.

Use centralized object-level authorization, treat all client-provided identifiers as untrusted, and add regression tests covering unauthorized cross-folder moves and other multi-resource operations.

Find out what's already
exploitable in your codebase.