CVE-2026-20736
published high CVSS 3.1 · 7.5Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea Open Source Git Server0 through 1.25.3 · Other versions: unaffected | Affected | Not stated | Gitea |
| Red Hat | — | openshift-pipelines/pipelines-opc-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
| Red Hat | — | openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9OpenShift Pipelines | Unaffected | Not required | redhat-SADP |
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.
An access control flaw has been discovered in Gitea. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- redhat-SADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | CISA-ADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 through 1.25.3 (affected · semver)Default: unaffected | Gitea · cna |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
| Red Hat | OpenShift Pipelines | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-284 CWE-284: Improper Access Control
- CWE-284 Improper Access Control
References
7- https://access.redhat.com/security/cve/CVE-2026-20736
- Gitea v1.25.4 Release Blog Post https://blog.gitea.com/release-of-1.25.4/
- RHBZ#2432205 https://bugzilla.redhat.com/show_bug.cgi?id=2432205
- GitHub Pull Request #36320 https://github.com/go-gitea/gitea/pull/36320
- Gitea v1.25.4 Release https://github.com/go-gitea/gitea/releases/tag/v1.25.4
- GitHub Security Advisory https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json
Provider assertions
3Gitea · cna
Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
redhat-SADP · adp
gitea: Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1290b0bdcbf6832179885e830ca777363356715a52a254cbb35533b668b2fea5
- Ingested
- 23 Sep 2026, 09:04:41 UTC
- Source record
- Official CVE record