PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-20736 Gitea CVE debrief

CVE-2026-20736 is a HIGH-severity vulnerability in Gitea, a popular open-source software development platform. The issue arises from Gitea's improper verification of repository context when deleting attachments. Specifically, a user who previously uploaded an attachment to a repository may still be able to delete it after losing access to that repository by making the request through a different repository they can access. This vulnerability was published on January 22, 2026, and modified on June 30, 2026. The Common Vulnerability Scoring System (CVSS) score for this vulnerability is 7.5, indicating a high level of severity. The CVSS vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N, which suggests that the vulnerability can be exploited remotely with low attack complexity and no privileges or user interaction required.

Vendor
Gitea
Product
Gitea Open Source Git Server
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-01-22
Original CVE updated
2026-07-15
Advisory published
2026-01-22
Advisory updated
2026-07-15

Who should care

Organizations using Gitea for software development and version control should prioritize patching this vulnerability. Specifically, users with administrative access to Gitea repositories should be aware of the potential for unauthorized attachment deletion. Additionally, security teams responsible for monitoring and patching vulnerabilities in development tools should include CVE-2026-20736 in their risk assessment and remediation plans.

Technical summary

The vulnerability in Gitea allows an attacker to delete attachments from a repository they no longer have access to by exploiting the lack of proper repository context verification. This could lead to unintended data loss or manipulation. The issue is particularly concerning because it can be exploited remotely without requiring any privileges or user interaction. The CVSS score of 7.5 reflects the high severity of this vulnerability, which could have significant impacts on the integrity and availability of data stored in Gitea repositories.

Defensive priority

High priority should be given to patching Gitea installations to address this vulnerability. Organizations should review their Gitea configurations and ensure that all users with access to repositories are aware of the potential risks and limitations of the current implementation.

Recommended defensive actions

  • Apply the patch: Upgrade to Gitea version 1.25.4 or later to fix the vulnerability.
  • Review repository access: Ensure that users only have access to the repositories they need to manage.
  • Monitor repository activity: Regularly monitor repository activity for any suspicious attachment deletion requests.
  • Implement compensating controls: Consider implementing additional security controls, such as restricting attachment deletion to users with administrative access.
  • Update incident response plans: Review and update incident response plans to include procedures for responding to potential exploitation of this vulnerability.

Evidence notes

The CVE-2026-20736 vulnerability was published on January 22, 2026, and modified on June 30, 2026. The vulnerability has a CVSS score of 7.5 and a CVSS vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. The vulnerability affects Gitea versions prior to 1.25.4.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-20736 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-20736 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Mitigation or vendor reference

    Unverified legacy reference

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

    88ee5874-cf24-4952-aea0-31affedb7ff2 - Release Notes

  • Mitigation or vendor reference

    Unverified legacy reference

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

    88ee5874-cf24-4952-aea0-31affedb7ff2 - Issue Tracking, Patch

  • Mitigation or vendor reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/releases/tag/v1.25.4

    88ee5874-cf24-4952-aea0-31affedb7ff2 - Release Notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6

    88ee5874-cf24-4952-aea0-31affedb7ff2 - Broken Link

  • Source reference

    Unverified legacy reference

    URL: https://access.redhat.com/security/cve/CVE-2026-20736

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

  • Source reference

    Unverified legacy reference

    URL: https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json

    0b0ca135-0b70-47e7-9f44-1890c2a1c46c

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.