CVE-2025-68941
MEDIUM 5.3CVSS 3.1Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources
Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.
- Published
- 26 Dec 2025
- Last modified
- 13 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- BIT-gitea-2025-68941GHSA-xfq3-qj7j-4565GO-2025-4268
- Sources
- NVDJSONOSV GHSA-xfq3-qj7j-4565JSONOSV GO-2025-4268JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:* |
< 1.22.3 | 1.22.3 |
| OSV | Go | code.gitea.io/gitea | < 1.22.3 | 1.22.3 |
References
- https://blog.gitea.com/release-of-1.22.3/ · Release Notes, WEB
- https://github.com/go-gitea/gitea/pull/32218 · Issue Tracking, Patch, WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.22.3 · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68941 · ADVISORY
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-xfq3-qj7j-4565 · ADVISORY
History
- 25 Nov 2026 21:00 UTC · NVD: first stored (published 26 Dec 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Dec 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Dec 2025)