Security Resilience

CVE-2025-23208

Zotregistry Zot ≤ 2.1.2

Public PoC
Published
17 January 2025
Modified
04 March 2025
Patch / advisory
CVSS Score v3.1 7.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0042 37th percentile
Risk Priority 56 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-23208 is a high-severity Improper Privilege Management (CWE-269) vulnerability in Zotregistry Zot. Its CVSS base score is 7.3 (High).

Operationally, ranked at the 37th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-2 (Account Management) and AC-24 (Access Control Decisions) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-23208 is a vulnerability in zot, a production-ready vendor-neutral OCI image registry, published on 2025-01-17. It stems from improper handling of user group data in the boltdb database (meta.db), where groups are stored as an append-list, causing revocations or removals to be ignored by the API. Upon login, the SetUserGroups function appends new group memberships rather than replacing existing ones, potentially due to conflicts with config file group definitions. This breaks group-based authorization in any zot configuration dependent on Identity Provider (IdP) revocations, rated at CVSS 7.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L) and mapped to CWE-269.

The vulnerability enables network-accessible attackers requiring no privileges to exploit it with low complexity and no user interaction. A user whose group access has been revoked by an IdP can log in and retain prior group memberships, as they are appended without removal, allowing continued unauthorized access to registry resources and bypassing intended controls for low impacts on confidentiality, integrity, and availability.

The issue is fixed in zot version 2.1.2, with users advised to upgrade immediately, as no workarounds exist. Details appear in the project-zot/zot security advisory at GHSA-c9p4-xwr9-rfhx, the patching commit 002ac62d8a15bf0cba010b3ba7bde86f9837b613, and affected code at pkg/meta/boltdb/boltdb.go line 1665.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-31801Same product: Zotregistry Zot
CVE-2024-39897Same product: Zotregistry Zot
CVE-2024-40459Shared CWE-269
CVE-2023-38292Shared CWE-269
CVE-2025-6080Shared CWE-269
CVE-2025-4334Shared CWE-269
CVE-2026-19256Shared CWE-269
CVE-2026-15103Shared CWE-269
CVE-2023-52716Shared CWE-269
CVE-2026-58841Shared CWE-269

Affected Assets

zotregistry
zot
≤ 2.1.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Account management directly governs assignment and tracking of privileges so proper implementation stops the weakness from being introduced.

Requiring explicit access-control decisions ensures privileges are evaluated rather than assumed or omitted.

Access enforcement applies the correct privilege checks at every request, structurally preventing unintended spheres of control.

Separation of duties constrains how privileges may be assigned, reducing the chance of overly broad actor control.

Least privilege is the direct countermeasure to improper privilege management; implementing it eliminates the root cause.

Binding security attributes to subjects/objects supplies the mechanism needed to track and enforce privileges correctly.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.2 directly controls the identification, allocation, review, expiry, temporary use, and separation of privileged rights per policy, which prevents most improper privilege management (CWE-269) by design; the bounded remainder is flawed tracking/checking logic inside the product's own enforcement code (the AC-3 slice of 269).

blocks

A.8.3's access restriction mechanisms (per-identity rights, dynamic access management, isolation) block exploitation of improperly assigned privileges when the mis-assignment sits in a layer A.8.3's own authorization decisions override, but many CWE-269 instances are the access control itself being wrong (role definitions, self-grant, setuid programs, privilege-not-reset), where A.8.3 IS the defective layer and cannot block its own failure.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

References