# CVE-2025-68941: Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources

- Severity: Medium 4.9 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Published: 2025-12-26T02:31:59.031Z
- Modified: 2026-10-13T10:10:00.193Z
- Also known as: GHSA-xfq3-qj7j-4565, BIT-GITEA-2025-68941, GO-2025-4268
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.

(As written by CVE List.)

## Affected

- Gitea Gitea: before 1.22.3
- code.gitea.io/gitea (Go): before 1.22.3
- gitea (Bitnami): before 1.22.3

## Every score

- mitre: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://blog.gitea.com/release-of-1.22.3/> (article, release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v1.22.3> (article, release-notes, web)
- <https://github.com/go-gitea/gitea/pull/32218> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68941> (advisory, web)
- <https://blog.gitea.com/release-of-1.22.3> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-xfq3-qj7j-4565> (advisory)

## Sources

- CVE List: [CVE-2025-68941](https://www.cve.org/CVERecord?id=CVE-2025-68941), CVE Terms of Use, modified 2025-12-26
- GitHub Advisory Database: [GHSA-xfq3-qj7j-4565](https://github.com/advisories/GHSA-xfq3-qj7j-4565), CC-BY-4.0, modified 2026-01-03
- Go Vulnerability Database: [GO-2025-4268](https://pkg.go.dev/vuln/GO-2025-4268), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-68941](https://nvd.nist.gov/vuln/detail/CVE-2025-68941), Public domain, modified 2026-10-13
- Bitnami Vulnerability Database: [BIT-GITEA-2025-68941](https://osv.dev/vulnerability/BIT-GITEA-2025-68941), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-68941 · Whole record: https://cve.day/CVE-2025-68941.json · Rebuilt by cve.day 2026-11-25T22:59:09.926Z
