CVE-2025-23208
CVE-2025-23208 · IdP group membership revocation ignored in zot
CVSS 7.3 · High · EPSS 0.6%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- zotNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
zot is a production-ready vendor-neutral OCI image registry. The group data stored for users in the boltdb database (meta.db) is an append-list so group revocations/removals are ignored in the API. SetUserGroups is alled on login, but instead of replacing the group memberships, they are appended. This may be due to some conflict with the group definitions in the config file, but that wasn't obvious to me if it were the case. Any Zot configuration that relies on group-based authorization will not respect group remove/revocation by an IdP. This issue has been addressed in version 2.1.2. All users are advised to upgrade. There are no known workarounds for this vulnerability.
- Published
- Updated
Fixes in distributions
- SUSE-SU-2025:0297-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Package Hub 15 SP6 ·
- openSUSE-SU-2025:14710-1 · openSUSE Tumbleweed ·
Affected products and versions
zot
- Versions
- < 2.1.2: Affected
No fix published
Original sources
- https://github.com/project-zot/zot/security/advisories/GHSA-c9p4-xwr9-rfhx
- https://github.com/project-zot/zot/commit/002ac62d8a15bf0cba010b3ba7bde86f9837b613
- https://github.com/project-zot/zot/blob/5e30fec65c49e3139907e2819ccb39b2e3bd784e/pkg/meta/boltdb/boltdb.go#L1665
- https://nvd.nist.gov/vuln/detail/CVE-2025-23208