CVE-2025-68939: code.gitea.io/gitea · Gitea allows attackers to add attachments with forbidden file extensions
Affects code.gitea.io/giteaSource GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 1.23.0-rc0 soon.
Data as of 3 Nov 2026, 17:00 UTC
- Patch
- Available – fixed in 1.23.0-rc0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 26 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.
What to do
Upgrade code.gitea.io/gitea to 1.23.0-rc0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gocode.gitea.io/gitea | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
References
- nvd.nist.gov/vuln/detail/CVE-2025-68939 (opens in a new tab)
- github.com/go-gitea/gitea/pull/32151 (opens in a new tab)
- github.com/go-gitea/gitea/commit/7adc4717ec8e4f8fe678010866e936cf024f498d (opens in a new tab)
- blog.gitea.com/release-of-1.23.0 (opens in a new tab)
- github.com/go-gitea/gitea (opens in a new tab)
- github.com/go-gitea/gitea/releases/tag/v1.23.0 (opens in a new tab)