CVE-2025-68944
Unknown Unknown - Not Provided
Token Scope Mismanagement in Gitea Package Registry Before

Publication date: 2025-12-26

Last updated on: 2025-12-26

Assigner: MITRE

Description
Gitea before 1.22.2 sometimes mishandles the propagation of token scope for access control within one of its own package registries.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-26
Last Modified
2025-12-26
Generated
2026-05-07
AI Q&A
2025-12-26
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
gitea gitea 1.22.2
gitea gitea 1.23.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-441 The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. This causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in Gitea before version 1.22.2 involves improper handling of token scope propagation for access control within its package registries. Specifically, it caused bugs related to uploading NuGet, Conan, and container packages, where permission checks for package uploads were inconsistent or incorrect, potentially allowing improper access or actions during package uploads. [1]


How can this vulnerability impact me? :

The vulnerability can lead to improper permission enforcement during package uploads in Gitea, potentially allowing users with limited permissions to perform actions they should not be authorized to do. This could result in unauthorized modification or upload of packages, impacting the integrity and security of the package registry. [1]


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should upgrade your Gitea installation to version 1.22.2 or later, where the fix has been backported. The fix addresses bugs related to package upload permissions and improves scope permission checks. Applying this update will resolve the mishandling of token scope in package registries and improve error logging and permission enforcement. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart