# CVE-2025-68939: Gitea allows attackers to add attachments with forbidden file extensions

- Severity: High 8.2 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L`
- 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.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-12-26T02:03:59.691Z
- Modified: 2026-11-03T16:45:04.012Z
- Also known as: GHSA-263q-5cv3-xq9g, BIT-GITEA-2025-68939, GO-2025-4261
- Related: CGA-7prg-43g9-m6h3
- Weaknesses: CWE-424
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.

(As written by CVE List.)

## Affected

- Gitea Gitea: before 1.23.0
- code.gitea.io/gitea (Go): before 1.23.0-rc0; all versions
- gitea (Bitnami): before 1.23.0

## Every score

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

## References

- <https://blog.gitea.com/release-of-1.23.0/> (article, release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v1.23.0> (article, release-notes, web)
- <https://github.com/go-gitea/gitea/pull/32151> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68939> (advisory, web)
- <https://github.com/go-gitea/gitea/commit/7adc4717ec8e4f8fe678010866e936cf024f498d> (web)
- <https://blog.gitea.com/release-of-1.23.0> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-263q-5cv3-xq9g> (advisory)

## Sources

- CVE List: [CVE-2025-68939](https://www.cve.org/CVERecord?id=CVE-2025-68939), CVE Terms of Use, modified 2025-12-26
- GitHub Advisory Database: [GHSA-263q-5cv3-xq9g](https://github.com/advisories/GHSA-263q-5cv3-xq9g), CC-BY-4.0, modified 2026-11-03
- Go Vulnerability Database: [GO-2025-4261](https://pkg.go.dev/vuln/GO-2025-4261), CC-BY-4.0, modified 2026-06-19
- NVD: [CVE-2025-68939](https://nvd.nist.gov/vuln/detail/CVE-2025-68939), Public domain, modified 2026-10-13
- Bitnami Vulnerability Database: [BIT-GITEA-2025-68939](https://osv.dev/vulnerability/BIT-GITEA-2025-68939), Apache-2.0, modified 2026-09-10

---

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