7.5
HIGH CVSS 3.1
CVE-2026-20736
Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
Description

Gitea does not properly verify repository context when deleting attachments. A user who previously uploaded an attachment to a repository may be able to delete it after losing access to that repository by making the request through a different repository they can access.

INFO

Published Date :

Jan. 22, 2026, 10:16 p.m.

Last Modified :

July 15, 2026, 2:18 a.m.

Remotely Exploit :

Yes !

Source :

88ee5874-cf24-4952-aea0-31affedb7ff2
Affected Products

The following products are affected by CVE-2026-20736 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Gitea gitea
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
Solution
Ensure attachment deletion requests are validated against the correct repository context to prevent unauthorized access.
  • Verify repository context for attachment deletion.
  • Implement access controls for attachment management.
  • Update Gitea to the latest secure version.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-20736 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-20736 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-20736 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    Jul. 15, 2026

    Action Type Old Value New Value
    Changed Affected [{'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'defaultStatus': 'unaffected'}] [{'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'packageName': 'openshift-pipelines/pipelines-opc-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'packageName': 'openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'packageName': 'openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'packageName': 'openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'packageName': 'openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'packageName': 'openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'packageName': 'openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'packageName': 'openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}, {'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'packageName': 'openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9', 'collectionURL': 'https://access.redhat.com/downloads/content/package-browser/', 'defaultStatus': 'unaffected'}]
  • CVE Modified by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c

    Jun. 30, 2026

    Action Type Old Value New Value
    Added Affected [{'cpes': ['cpe:/a:redhat:openshift_pipelines:1'], 'vendor': 'Red Hat', 'product': 'OpenShift Pipelines', 'defaultStatus': 'unaffected'}]
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Added CWE CWE-284
    Added Reference https://access.redhat.com/security/cve/CVE-2026-20736
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2432205
    Added Reference https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json
  • CVE Modified by 88ee5874-cf24-4952-aea0-31affedb7ff2

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'Gitea', 'product': 'Gitea Open Source Git Server', 'versions': [{'status': 'affected', 'version': '0', 'versionType': 'semver', 'lessThanOrEqual': '1.25.3'}], 'defaultStatus': 'unaffected'}]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 17, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-20736', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-01-23T21:13:08.431490Z'}
  • Initial Analysis by [email protected]

    Jan. 29, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:* versions up to (excluding) 1.25.4
    Added Reference Type Gitea Limited: https://blog.gitea.com/release-of-1.25.4/ Types: Release Notes
    Added Reference Type Gitea Limited: https://github.com/go-gitea/gitea/pull/36320 Types: Issue Tracking, Patch
    Added Reference Type Gitea Limited: https://github.com/go-gitea/gitea/releases/tag/v1.25.4 Types: Release Notes
    Added Reference Type Gitea Limited: https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6 Types: Broken Link
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jan. 23, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • New CVE Received by 88ee5874-cf24-4952-aea0-31affedb7ff2

    Jan. 22, 2026

    Action Type Old Value New Value
    Added Description Gitea does not properly verify repository context when deleting attachments. A user who previously uploaded an attachment to a repository may be able to delete it after losing access to that repository by making the request through a different repository they can access.
    Added CWE CWE-284
    Added Reference https://blog.gitea.com/release-of-1.25.4/
    Added Reference https://github.com/go-gitea/gitea/pull/36320
    Added Reference https://github.com/go-gitea/gitea/releases/tag/v1.25.4
    Added Reference https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.