CVE-2026-31801: CWE-863: Incorrect Authorization in project-zot zot
CVE-2026-31801 is a high-severity authorization vulnerability in project-zot, a container image/artifact registry. The flaw exists in versions from 1. 3. 0 up to 2. 1. 14, where the authorization middleware incorrectly treats PUT requests to update the 'latest' tag as create actions. This allows users with create permissions but without update permissions to overwrite the 'latest' tag, bypassing intended access controls. The vulnerability impacts integrity but not confidentiality or availability. It requires network access and low privileges but no user interaction. The issue is fixed in version 2.
AI Analysis
Technical Summary
Project-zot is a container image and artifact registry implementing the Open Container Initiative Distribution Specification. Between versions 1.3.0 and 2.1.14, the authorization middleware responsible for controlling access to PUT requests on manifests incorrectly infers the required action. Specifically, when a client issues a PUT request to /v2/{name}/manifests/{reference}, the middleware defaults to treating the action as a 'create' operation. It only switches to 'update' if the tag already exists and the reference is not 'latest'. Consequently, if the 'latest' tag exists, a user with permission to create manifests but without permission to update them can overwrite the 'latest' tag, bypassing authorization checks. This is a classic case of incorrect authorization (CWE-863), where the system fails to properly distinguish between create and update operations based on the tag reference. The vulnerability affects the integrity of container images by allowing unauthorized overwrites, potentially leading to supply chain risks or deployment of malicious images. The CVSS 3.1 score is 7.7 (high), reflecting network exploitability, low attack complexity, and the requirement of privileges but no user interaction. The scope is changed because the vulnerability allows unauthorized modification of resources. The issue is resolved in zot version 2.1.15 by correcting the authorization logic to properly handle the 'latest' tag update scenario.
Potential Impact
This vulnerability primarily impacts the integrity of container images stored in affected zot registries. Unauthorized users with create permissions can overwrite the 'latest' tag, potentially replacing trusted images with malicious or altered versions. This can lead to supply chain compromises, deployment of backdoored containers, and disruption of development and production workflows relying on the 'latest' tag. Since container images are widely used in cloud-native environments, CI/CD pipelines, and production deployments, the impact can be significant for organizations relying on zot as their artifact registry. The vulnerability does not affect confidentiality or availability directly but undermines trust in the image provenance and can facilitate further attacks. Attackers with network access and limited privileges can exploit this flaw without user interaction, increasing the risk of automated or stealthy attacks. Organizations using affected versions face risks of unauthorized code execution, data breaches, or service disruption if compromised images are deployed.
Mitigation Recommendations
The primary mitigation is to upgrade all instances of project-zot to version 2.1.15 or later, where the authorization logic is corrected. Until upgrades can be performed, organizations should implement strict network access controls to limit who can perform PUT operations on manifests, especially on the 'latest' tag. Review and tighten permissions to ensure that users with create rights do not have unnecessary access to sensitive repositories or tags. Implement monitoring and alerting on manifest overwrite events, particularly targeting the 'latest' tag, to detect suspicious activity. Consider using image signing and verification mechanisms to detect unauthorized image modifications. In environments where upgrading is delayed, temporarily disable or restrict use of the 'latest' tag to reduce risk. Conduct thorough audits of container registries to identify any unauthorized changes. Finally, integrate vulnerability scanning and supply chain security tools to detect compromised images before deployment.
Affected Countries
United States, Germany, China, Japan, South Korea, United Kingdom, France, Canada, Australia, Netherlands
CVE-2026-31801: CWE-863: Incorrect Authorization in project-zot zot
Description
CVE-2026-31801 is a high-severity authorization vulnerability in project-zot, a container image/artifact registry. The flaw exists in versions from 1. 3. 0 up to 2. 1. 14, where the authorization middleware incorrectly treats PUT requests to update the 'latest' tag as create actions. This allows users with create permissions but without update permissions to overwrite the 'latest' tag, bypassing intended access controls. The vulnerability impacts integrity but not confidentiality or availability. It requires network access and low privileges but no user interaction. The issue is fixed in version 2.
AI-Powered Analysis
Technical Analysis
Project-zot is a container image and artifact registry implementing the Open Container Initiative Distribution Specification. Between versions 1.3.0 and 2.1.14, the authorization middleware responsible for controlling access to PUT requests on manifests incorrectly infers the required action. Specifically, when a client issues a PUT request to /v2/{name}/manifests/{reference}, the middleware defaults to treating the action as a 'create' operation. It only switches to 'update' if the tag already exists and the reference is not 'latest'. Consequently, if the 'latest' tag exists, a user with permission to create manifests but without permission to update them can overwrite the 'latest' tag, bypassing authorization checks. This is a classic case of incorrect authorization (CWE-863), where the system fails to properly distinguish between create and update operations based on the tag reference. The vulnerability affects the integrity of container images by allowing unauthorized overwrites, potentially leading to supply chain risks or deployment of malicious images. The CVSS 3.1 score is 7.7 (high), reflecting network exploitability, low attack complexity, and the requirement of privileges but no user interaction. The scope is changed because the vulnerability allows unauthorized modification of resources. The issue is resolved in zot version 2.1.15 by correcting the authorization logic to properly handle the 'latest' tag update scenario.
Potential Impact
This vulnerability primarily impacts the integrity of container images stored in affected zot registries. Unauthorized users with create permissions can overwrite the 'latest' tag, potentially replacing trusted images with malicious or altered versions. This can lead to supply chain compromises, deployment of backdoored containers, and disruption of development and production workflows relying on the 'latest' tag. Since container images are widely used in cloud-native environments, CI/CD pipelines, and production deployments, the impact can be significant for organizations relying on zot as their artifact registry. The vulnerability does not affect confidentiality or availability directly but undermines trust in the image provenance and can facilitate further attacks. Attackers with network access and limited privileges can exploit this flaw without user interaction, increasing the risk of automated or stealthy attacks. Organizations using affected versions face risks of unauthorized code execution, data breaches, or service disruption if compromised images are deployed.
Mitigation Recommendations
The primary mitigation is to upgrade all instances of project-zot to version 2.1.15 or later, where the authorization logic is corrected. Until upgrades can be performed, organizations should implement strict network access controls to limit who can perform PUT operations on manifests, especially on the 'latest' tag. Review and tighten permissions to ensure that users with create rights do not have unnecessary access to sensitive repositories or tags. Implement monitoring and alerting on manifest overwrite events, particularly targeting the 'latest' tag, to detect suspicious activity. Consider using image signing and verification mechanisms to detect unauthorized image modifications. In environments where upgrading is delayed, temporarily disable or restrict use of the 'latest' tag to reduce risk. Conduct thorough audits of container registries to identify any unauthorized changes. Finally, integrate vulnerability scanning and supply chain security tools to detect compromised images before deployment.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-09T16:33:42.913Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69b089ca2f860ef943c11e89
Added to database: 3/10/2026, 9:14:50 PM
Last enriched: 3/10/2026, 9:29:11 PM
Last updated: 3/10/2026, 10:29:22 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.