CVE-2025-68939
MEDIUM 5.3CVSS 3.1Gitea allows attackers to add attachments with forbidden file extensions
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
- Published
- 26 Dec 2025
- Last modified
- 3 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-424
- Also known as
- BIT-gitea-2025-68939GHSA-263q-5cv3-xq9gGO-2025-4261
- Sources
- NVDJSONOSV GHSA-263q-5cv3-xq9gJSONOSV GO-2025-4261JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
| 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:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:* |
< 1.23.0 | 1.23.0 |
| OSV | Go | code.gitea.io/gitea | < 1.23.0-rc0 | 1.23.0-rc0 |
| OSV | Go | code.gitea.io/gitea | all versions |
References
- https://blog.gitea.com/release-of-1.23.0/ · Release Notes, WEB
- https://github.com/go-gitea/gitea/pull/32151 · Issue Tracking, Patch, WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.23.0 · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68939 · ADVISORY
- https://github.com/go-gitea/gitea/commit/7adc4717ec8e4f8fe678010866e936cf024f498d · WEB
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-263q-5cv3-xq9g · 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:13 UTC · OSV: first stored (published 26 Dec 2025)