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

Medium 5.2 Published Updated

Administrators can remove the last remaining admin, locking the system out of administrative access due to missing validation in role membership removal.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-41662?

CVE-2026-41662 is a medium-severity vulnerability in admidio, published on 7 May 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-754

Which versions are affected by CVE-2026-41662?

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

PackageAffectedFixed in
admidio/admidio PackagistAll versions5.0.9
admidio/admidio PackagistAll versions5.0.9

How do I fix CVE-2026-41662?

Upgrade admidio/admidio to 5.0.9 or later.

Is CVE-2026-41662 being exploited?

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

Sources

Also known as GHSA-c7xm-r6vj-8vg6.

Is CVE-2026-41662 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free