# CVE-2026-47231: Admidio has IDOR in `documents-files.php` `mode=move_save` that lets any folder-uploader exfiltrate files from private folders

> Attackers with upload rights can move files from private folders to accessible locations, leading to data leakage and integrity loss.

- **Severity:** High 8.1 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 12 Aug 2026
- **Updated:** 12 Aug 2026
- **Also known as:** GHSA-x628-457g-2pw9

## What is CVE-2026-47231?

CVE-2026-47231 is a high-severity missing authorization vulnerability in admidio, published on 12 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

Admidio is an open-source user management solution. Prior to version 5.0.10, `modules/documents-files.php` gates state-changing modes by checking that the actor has `hasUploadRight()` on the URL parameter `folder_uuid`. The `move_save` handler then operates on a *separate* URL parameter `file_uuid` and calls `File::moveToFolder($destFolderUUID)`. `File::moveToFolder()` checks the upload right on the destination folder but never on the source folder containing the file. As a result, any user who can upload to any single folder can move any file from any other folder — including private folders to which they have no view rights — into a folder they control, and then download it. Confidentiality is broken (private file contents leak) and integrity is broken (the file is removed from the original location). Version 5.0.10 contains a fix.

Weakness: CWE-863 (Incorrect Authorization), CWE-639 (Authorization Bypass Through User-Controlled Key)

## Which versions are affected by CVE-2026-47231?

2 open source packages ship an affected version, including admidio/admidio.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `admidio/admidio` | Packagist | All versions | 5.0.10 |
| `admidio/admidio` | Packagist | All versions | 5.0.10 |

## How do I fix CVE-2026-47231?

Upgrade admidio/admidio to 5.0.10 or later.

## Is CVE-2026-47231 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47231 exists.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-47231 and fix it if it is affected.

What it is: CVE-2026-47231 is a high-severity missing authorization vulnerability in admidio, published on 12 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-47231 exists.

Affected packages and fixed versions:
- admidio/admidio (Packagist): affected all versions; fixed in 5.0.10
- admidio/admidio (Packagist): affected all versions; fixed in 5.0.10

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-47231/ (Markdown: https://insights.sbomify.com/CVE-2026-47231/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-47231
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-47231
- OSV: https://osv.dev/vulnerability/CVE-2026-47231

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-47231/
Summaries are generated and may contain mistakes; the official description above is the record.
