{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-20736",
        "assignerOrgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
        "state": "PUBLISHED",
        "assignerShortName": "Gitea",
        "dateReserved": "2026-01-08T23:02:37.558Z",
        "datePublished": "2026-01-22T22:01:49.678Z",
        "dateUpdated": "2026-07-15T01:20:18.077Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "vendor": "Gitea",
                    "product": "Gitea Open Source Git Server",
                    "versions": [
                        {
                            "version": "0",
                            "lessThanOrEqual": "1.25.3",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-284",
                            "description": "CWE-284: Improper Access Control",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-jr6h-pwwp-c8g6",
                    "name": "GitHub Security Advisory",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/pull/36320",
                    "name": "GitHub Pull Request #36320",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/go-gitea/gitea/releases/tag/v1.25.4",
                    "name": "Gitea v1.25.4 Release",
                    "tags": [
                        "release-notes"
                    ]
                },
                {
                    "url": "https://blog.gitea.com/release-of-1.25.4/",
                    "name": "Gitea v1.25.4 Release Blog Post",
                    "tags": [
                        "release-notes"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "spingARbor",
                    "type": "reporter"
                }
            ],
            "title": "Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check",
            "providerMetadata": {
                "orgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
                "shortName": "Gitea",
                "dateUpdated": "2026-01-22T22:01:49.678Z"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.5,
                            "attackVector": "NETWORK",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "NONE",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-01-23T21:13:08.431490Z",
                                "id": "CVE-2026-20736",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-01-23T21:54:48.862Z"
                }
            },
            {
                "affected": [
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_pipelines:1"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "openshift-pipelines/pipelines-opc-rhel9",
                        "product": "OpenShift Pipelines",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_pipelines:1"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8",
                        "product": "OpenShift Pipelines",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_pipelines:1"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9",
                        "product": "OpenShift Pipelines",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_pipelines:1"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8",
                        "product": "OpenShift Pipelines",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_pipelines:1"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9",
                        "product": "OpenShift Pipelines",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_pipelines:1"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8",
                        "product": "OpenShift Pipelines",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_pipelines:1"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9",
                        "product": "OpenShift Pipelines",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_pipelines:1"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8",
                        "product": "OpenShift Pipelines",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_pipelines:1"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9",
                        "product": "OpenShift Pipelines",
                        "vendor": "Red Hat"
                    }
                ],
                "datePublic": "2026-01-22T22:01:49.678Z",
                "descriptions": [
                    {
                        "lang": "en",
                        "value": "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."
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "content": {
                                "namespace": "https://access.redhat.com/security/updates/classification/",
                                "value": "Important"
                            },
                            "type": "Red Hat severity rating"
                        }
                    },
                    {
                        "cvssV3_1": {
                            "attackComplexity": "LOW",
                            "attackVector": "NETWORK",
                            "availabilityImpact": "NONE",
                            "baseScore": 7.5,
                            "baseSeverity": "HIGH",
                            "confidentialityImpact": "NONE",
                            "integrityImpact": "HIGH",
                            "privilegesRequired": "NONE",
                            "scope": "UNCHANGED",
                            "userInteraction": "NONE",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                            "version": "3.1"
                        },
                        "format": "CVSS"
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "cweId": "CWE-284",
                                "description": "Improper Access Control",
                                "lang": "en",
                                "type": "CWE"
                            }
                        ]
                    }
                ],
                "references": [
                    {
                        "tags": [
                            "vdb-entry",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/security/cve/CVE-2026-20736"
                    },
                    {
                        "name": "RHBZ#2432205",
                        "tags": [
                            "issue-tracking",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2432205"
                    },
                    {
                        "tags": [
                            "x_sadp-csaf-vex"
                        ],
                        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20736.json"
                    }
                ],
                "timeline": [
                    {
                        "lang": "en",
                        "time": "2026-01-22T23:01:29.451Z",
                        "value": "Reported to Red Hat."
                    },
                    {
                        "lang": "en",
                        "time": "2026-01-22T22:01:49.678Z",
                        "value": "Made public."
                    }
                ],
                "title": "gitea: Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check",
                "x_adpType": "supplier",
                "x_generator": {
                    "engine": "sadp-cli 1.0.0"
                },
                "providerMetadata": {
                    "orgId": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
                    "shortName": "redhat-SADP",
                    "dateUpdated": "2026-07-15T01:20:18.077Z"
                }
            }
        ]
    }
}