Read the docs

Gitea release edit lets users delete other attachments' files

Priority LOW 22CWE-22Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Security bypass
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA. Impact type from CWE-639.

Summary

Gitea from 1.15.0 before 28.4.0 deletes the wrong attachment files when a release is edited. The release edit removes files by identifiers submitted in the form instead of checking that they belong to the release (CWE-639). A user with write access to releases in any repository can delete another attachment's file if they know its UUID, so downloads of that issue, comment or release file fail.

Written with Claude Haiku 5.5 from the sources below · 2026-11-15

Description from the CNA

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.

Why it matters now

EPSS 0.00241 15th percentileScored 2026-11-16
Fix Fixed Gitea (Gitea): 28.4.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
GiteaGitea1.15.0 to before 28.4.028.4.0Patch availableCNA
  • Gitea VendorGitea Affected 1.15.0 to before 28.4.0 Fixed in 28.4.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*——Gitea
  • cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* Versions — — ·Gitea

Remediation

Upgrade Gitea to 28.4.0, the fixed version.

Written with Claude Haiku 5.5 from the sources below · 2026-11-15

  • Fix · CNA Gitea (Gitea) Fixed in 28.4.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Gitea 28.4.0

    19 records Highest priority Priority LOW 19 LOW

    Other records, highest priority first

    • TI-2026-91976 Command execution in Gitea through repository auto-initializationPriority LOW 39
    • TI-2026-91985 Protected file pattern bypass in Gitea with quoted file namesPriority LOW 36
    • TI-2026-91982 Gitea missing attempt limit for TOTP passcodesPriority LOW 34

Timeline

  1. 2026-11-15 Threatist record created from CVE-2026-123065

References

  • TI-2026-42785 Remote code execution in Gitea diffpatch API through Git hooks KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-42033 Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts CVSS 3.1CRITICAL 9.8
  • TI-2026-40842 Privilege Escalation via Access Token Scope Escalation in API CVSS 3.1CRITICAL 9.8
  • TI-2026-16922 Gitea Docker image trusts spoofable reverse-proxy headers by default CVSS 3.1CRITICAL 9.8
  • TI-2026-42043 Team-repository linking endpoint bypasses the RepoAdminChangeTeamAccess organization setting CVSS 3.1CRITICAL 9.1
  • TI-2026-40381 OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes CVSS 3.1CRITICAL 9.1
See all 260 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences