GitHub Advisoryadvisory · Go
GHSA-263q-5cv3-xq9g Gitea allows attackers to add attachments with forbidden file extensions
HIGH
Official page ↗
- Aliases
- CVE-2025-68939
- Ecosystem
- Go
- Packages
- code.gitea.io/gitea
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L
- Weaknesses
- CWE-424
- Reviewed
- 2025-12-26
Affected packages
• Go code.gitea.io/gitea: < 1.23.0-rc0 → fixed in 1.23.0-rc0
Description
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
Related
Alias · CVE (1)
- CVE-2025-68939 Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API. vulnerability
Weakness · CWE (1)
- CWE-424 Improper Protection of Alternate Path weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-68939 advisory
- https://github.com/go-gitea/gitea/pull/32151 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/go-gitea/gitea/releases/tag/v1.23.0 web