CVE-2025-23208
Zotregistry Zot vulnerability
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.
Affected products
Zot. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Zotregistry Zot runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/project-zot/zot/security/advisories/GHSA-c9p4-xwr9-rfhx · Exploit
- github.com/project-zot/zot/commit/002ac62d8a15bf0cba010b3ba7bde86f9837b613 · Patch
- github.com/project-zot/zot/blob/5e30fec65c49e3139907e2819ccb39b2e3bd784e/pkg/meta/boltdb/b
- nvd.nist.gov/vuln/detail/CVE-2025-23208
- github.com/advisories/GHSA-c9p4-xwr9-rfhx
- nvd.nist.gov/vuln/detail/CVE-2025-23208
- cve.org/CVERecord?id=CVE-2025-23208
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.