NetSight
medium5.4

CVE-2026-129341

The web endpoint that removes an attachment skipped the permission check when the request came from the user who had uploaded the attachment, and it was reacha…

Impact

The web endpoint that removes an attachment skipped the permission check when the request came from the user who had uploaded the attachment, and it was reachable with read access to issues or pull requests. A user who had uploaded a release asset could still delete it after losing write access to the repository. The endpoint now only deletes attachments that the user uploaded and that are not yet linked to an issue, comment or release.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data or systems being changed, low risk of outages.

Affected products · Gitea

ProductAffected versions
Gitea
from 1.11.0 before 28.4.0

Weakness classification

References