CVEvulnerability

CVE-2026-105268

4.3 MEDIUM Published 2026-10-06 Modified 2026-10-13 Official page ↗
Status
Analyzed
Published
2026-10-06
Last modified
2026-10-13
Assigner
88ee5874-cf24-4952-aea0-31affedb7ff2
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
4.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-639, CWE-863

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 configurations

• gitea gitea (< 28.1.0)

Related

Weakness · CWE (2)

  • CWE-639 Authorization Bypass Through User-Controlled Key weakness
  • CWE-863 Incorrect Authorization weakness

References