CVE-2025-68939
8.2high
Gitea allows attackers to add attachments with forbidden file extensions
- Severity
- 8.2high CVSS:3.1 by mitre
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-263q-5cv3-xq9gBIT-GITEA-2025-68939GO-2025-4261
Description
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Gitea Gitea | before 1.23.0 | CVE List, NVD |
| code.gitea.io/gitea (Go) | before 1.23.0-rc0, all versions | GitHub Advisory Database, Go Vulnerability Database |
| gitea (Bitnami) | before 1.23.0 | Bitnami Vulnerability Database |
All scores
| mitre | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
Go Vulnerability Database
Gitea allows attackers to add attachments with forbidden file extensions in code.gitea.io/gitea
NVD (es)
Gitea antes de 1.23.0 permite a los atacantes añadir adjuntos con extensiones de archivo prohibidas editando un nombre de adjunto a través de una API de adjuntos.
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 | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68939 changed 2025-12-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-263q-5cv3-xq9g changed 2026-11-03 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4261 changed 2026-06-19 | CC-BY-4.0 |
| NVD | CVE-2025-68939 changed 2026-10-13 | Public domain |
| Bitnami Vulnerability Database | BIT-GITEA-2025-68939 changed 2026-09-10 | Apache-2.0 |