medium4.9
CVE-2025-68941
Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources
Impact
Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | < 1.22.3 | 1.22.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Gitea | Gitea | before 1.22.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://blog.gitea.com/release-of-1.22.3/
- https://github.com/go-gitea/gitea/pull/32218
- https://github.com/go-gitea/gitea/releases/tag/v1.22.3
- https://github.com/advisories/GHSA-xfq3-qj7j-4565
- https://nvd.nist.gov/vuln/detail/CVE-2025-68941
- https://blog.gitea.com/release-of-1.22.3