cvelo
P3 · MediumCVSS 5.7EPSS 0.3%

Gitea deletion of arbitrary attachment files through release edit

  • CVE-2026-123065
  • EUVD-2026-126123

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.

Text from the CVE.org record.

Recommendation

  • Gitea

    • If you run a version from 1.15.0 to before 28.4.0update to 28.4.0 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Gitea

    Affected versionsFixed in
    from 1.15.0 to before 28.4.028.4.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.