Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-105268 EUVD-2026-94064

Gitea issue attachment API allows changing comment attachments

Published Oct 6, 2026 · Updated Oct 7, 2026 · Assigned by Gitea

Description

The Gitea API routes for issue attachments (`/api/v1/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}`) also accepted attachments that belong to comments on the issue. Because the author of an issue may edit and delete the issue's attachments, a user who opened an issue could rename or delete attachments that other users had posted in comments on that issue. The contents of the attachments could not be changed.

Affected products

VendorProductAffectedFixed
Gitea Gitea ≤ 28.0.0 —

Advisories 1

References