PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-123065 Gitea CVE debrief

A vulnerability in Gitea allows users with write access to repository releases to delete arbitrary attachment files by submitting crafted identifiers during release edits. This could lead to unintended file deletions if the attacker knows the UUID of the attachment they wish to delete. The vulnerability arises because the files to be deleted are identified by the submitted identifiers rather than being verified to belong to the release. A user could submit an identifier that resolves to a stored file of another attachment and delete it, provided they know that attachment's UUID. The attachment record remains, causing downloads of the affected issue, comment, or release file to fail

Vendor
Gitea
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-15
Original CVE updated
2026-11-17
Advisory published
2026-11-15
Advisory updated
2026-11-17

Who should care

Administrators and users of Gitea repositories should assess their exposure and take necessary actions to prevent exploitation. This includes reviewing and updating Gitea installations to version 28.4.0 or later, restricting write access to releases for users who do not require it, and monitoring repository release edits for suspicious activity.

Why it matters

The vulnerability in Gitea allows for the deletion of arbitrary attachment files through release edits, potentially leading to data loss or corruption. Administrators and users of Gitea repositories should assess their exposure and take necessary actions to prevent exploitation.

  • Unintended file deletions could lead to data loss or corruption.
  • Successful exploitation requires write access to repository releases and knowledge of the attachment UUID.
  • Verification of Gitea version and restriction of write access can help prevent exploitation.
  • Monitoring for suspicious release edits can help detect potential attacks.

Technical summary

The vulnerability in Gitea allows users with write access to repository releases to delete arbitrary attachment files by submitting crafted identifiers during release edits. This is possible because the files to be deleted are identified by the submitted identifiers rather than being verified to belong to the release. A user could submit an identifier that resolves to a stored file of another attachment and delete it, provided they know that attachment's UUID. The attachment record remains, causing downloads of the affected issue, comment, or release file to fail.

Defensive priority

Medium

Recommended defensive actions

  • Review and update Gitea installations to version 28.4.0 or later
  • Restrict write access to releases for users who do not require it
  • Monitor repository release edits for suspicious activity
  • Perform regular security audits to identify and address potential vulnerabilities
  • Implement additional logging and monitoring to detect suspicious activity
  • Review and update incident response plans to address potential data loss or corruption
  • Conduct a thorough risk assessment to identify potential exposure

Evidence notes

The CVE record and source item provide details on the vulnerability, including its description and affected versions. However, the CVSS score and severity are not provided. The vulnerability was reported and patched by the vendor, with the patch available in version 28.4.0 or later. There are no known exploit details publicly available, but defenders should verify Gitea installations and restrict write access to releases for users who do not require it. Additionally, monitoring repository release edits for suspicious activity can help

Sources and references

Verified primary and authoritative sources

  • CVE-2026-123065 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-123065

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-123065 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-123065

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Gitea deletion of arbitrary attachment files through release edit

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/123xxx/CVE-2026-123065.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-4p89-xcq8-xfhm

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/pull/40120

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/pull/40268

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://blog.gitea.com/release-of-28.4.0/

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/releases/tag/v28.4.0

    Supplemental source - release-notes

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.