NetSight
medium5.7

CVE-2026-123065

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…

Impact

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.

An attacker can exploit this over the network, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data or systems being changed.

Affected products · Gitea

ProductAffected versions
Gitea
from 1.15.0 before 28.4.0

Weakness classification

References