# CVE-2026-47233: Admidio: Any logged-in user can delete inventory fields via `mode=field_delete` — incomplete fix of #2024

> Any logged-in user can permanently delete inventory fields and associated data due to a missing administrator authorization check in the field deletion handler.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/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:** 13 Aug 2026
- **Also known as:** GHSA-xw54-c3mx-9pm3

## What is CVE-2026-47233?

CVE-2026-47233 is a medium-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. Version 5.0.9 added a missing `isAdministratorInventory()` gate to `case 'item_delete':` in `modules/inventory.php`. The same fix was not applied to the sibling `case 'field_delete':` handler, which destroys an entire inventory field definition, cascading to every `adm_inventory_item_data` row that referenced that field and every `adm_inventory_field_options` entry. The handler validates only a session-bound CSRF token; there is no `isAdministratorInventory()` check at the controller level, and `Admidio\Inventory\Entity\ItemField::delete()` does not enforce one at the entity level either (unlike its sibling `ItemField::save()`, which does check `$gCurrentUser->isAdministrator()`). Any user who can log in to the site can permanently destroy a non-system inventory field by sending one POST. Version 5.0.10 provides an updated fix.

Weakness: CWE-862 (Missing Authorization), CWE-1281 (Sequence of Processor Instructions Leads to Unexpected Behavior)

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

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-47233?

Upgrade admidio/admidio to 5.0.10 or later.

## Is CVE-2026-47233 being exploited?

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

## Fix prompt for AI coding agents

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

What it is: CVE-2026-47233 is a medium-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-47233 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-47233/ (Markdown: https://insights.sbomify.com/CVE-2026-47233/index.md)
```

## Sources

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

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