All vulnerabilities

Servers and applications

CVE-2026-123065

Gitea deletion of arbitrary attachment files through release edit

Severity
Unrated
Published
15 Nov 2026
Last changed
15 Nov 2026
Added to UpHeron
15 Nov 2026
Fixed in
28.4.0
Exploit chance
0.3% in the next 30 daysHigher than 20% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)Authorization bypass through a user-controlled key (IDOR) (CWE-639)
Sources
CVE Program

Description

When a release was edited, the files of the attachments to remove were deleted by the identifiers submitted in the form rather than by the attachments verified to belong to the release. A user with write access to the releases of any repository, including their own, could submit a crafted identifier that resolves to the stored file of another attachment and delete it, provided they know that attachment's UUID. The attachment record stayed, so downloads of the affected issue, comment or release file failed. Release edits now only delete the files of attachments that belong to the release.

From the CVE Program.

Affected software

SoftwareAffected versions
GiteaServers and applications · cna:gitea|gitea
  • From 1.15.0 before 28.4.0

About Gitea

free forge based on git written in Go

From Wikidata, CC0 1.0.
Docker Hub pulls
395,154,663Docker Hub, 15 Nov 2026
GitHub stars
59,090GitHub, 15 Nov 2026
Forks
7,394GitHub, 15 Nov 2026
Latest release
v28.3.0GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
Developer
Jiahua ChenWikidata
License
MIT LicenseWikidata
Written in
Go, JavaScriptWikidata
First released
17 Oct 2016Wikidata
First published on GitHub
1 Nov 2016GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123065