CVE-2025-68939
High · 8.2Gitea allows attackers to add attachments with forbidden file extensions
CVSS
8.2
EPSS
0.3%
Published
Dec 26, 2025
CISA due date
—
The record
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | code.gitea.io/gitea | 0 | No fix |
| Bitnami | gitea | 0 | 1.23.0 |
| go | code.gitea.io/gitea | 0 | No fix |
| openSUSE:Leap 15.6 | govulncheck-vulndb | 0 | 0.0.20251230T014957-150000.1.134.1 |
Related vulnerabilities
- GO-2025-4261 Gitea allows attackers to add attachments with forbidden file extensions in… Same vulnerability
- GO-2026-4363 Gitea does not properly validate repository ownership when deleting Git LFS locks in… Also affects code.gitea.io/gitea
- GO-2026-4364 Gitea does not properly validate repository ownership when linking attachments to… Also affects code.gitea.io/gitea
- GO-2026-4365 Gitea may send release notification emails for private repositories to users whose access… Also affects code.gitea.io/gitea
- GO-2026-4367 Gitea has improper access control for uploaded attachments in code.gitea.io/gitea Also affects code.gitea.io/gitea
- GO-2026-4368 Gitea improperly exposes issue titles and repository names through previously started… Also affects code.gitea.io/gitea
- GO-2026-4370 Gitea does not properly validate project ownership in organization project operations in… Also affects code.gitea.io/gitea
- GO-2026-4366 Gitea does not properly verify authorization when canceling scheduled auto-merges via the… Also affects code.gitea.io/gitea