7.3high
IdP group membership revocation ignored in zot
- Severity
- 7.3high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-c9p4-xwr9-rfhxGO-2025-3409
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| project-zot zot | < 2.1.2 | CVE List |
| zotregistry.dev/zot (Go) | before 2.1.2, all versions | GitHub Advisory Database, Go Vulnerability Database |
| zotregistry zot | before 2.1.2 | NVD |
All scores
| GitHub_M | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Summary
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.
Details
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.
PoC
Login with group claims, logout, remove the user from a group from at IdP and log in again, the API still grants access and the new list of groups is appended creating meaningless duplicate entries and no longer mathing the expected groups from the IdP. The behavior can be verified by seeing the API or UI still presenting images it should not or by viewing the data directly: bbolt get meta.db UserData <user>, eg:
Note this example also has duplicates due to group hierarchy changes that were left in the database.
Impact
Any Zot configuration that relies on group-based authorization will not respect group remove/revocation by an IdP.
Go Vulnerability Database
Zot IdP group membership revocation ignored in zotregistry.dev/zot.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: zotregistry.dev/zot before v2.1.2.
NVD (es)
Zot es un registro de imágenes OCI independiente del proveedor y listo para producción. Los datos de grupo almacenados para los usuarios en la base de datos boltdb (meta.db) son una lista de anexos, por lo que las revocaciones/eliminaciones de grupos se ignoran en la API. SetUserGroups se agrega al iniciar sesión, pero en lugar de reemplazar las membresías de grupo, se agregan. Esto puede deberse a algún conflicto con las definiciones de grupo en el archivo de configuración, pero no me resultaría obvio si fuera el caso. Cualquier configuración de Zot que dependa de la autorización basada en grupos no respetará la eliminación/revocación de grupos por parte de un IdP. Este problema se ha solucionado en la versión 2.1.2. Se recomienda a todos los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-23208 changed 2025-01-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-c9p4-xwr9-rfhx changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3409 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-23208 changed 2026-06-17 | Public domain |