{"id":"CVE-2026-20912","aliases":["CVE-2026-20912","GHSA-4xx9-vc8v-87hv","BIT-GITEA-2026-20912","GHSA-vfmv-f93v-37mw","GO-2026-4364"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure","summary":"Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.","source":"cvelist"},{"lang":"en","text":"Gitea does not properly validate repository ownership when linking attachments to releases in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Gitea no valida correctamente la propiedad del repositorio al vincular adjuntos a las versiones. Un adjunto subido a un repositorio privado podría vincularse potencialmente a una versión en un repositorio público diferente, haciéndolo accesible a usuarios no autorizados.","source":"nvd"}],"published":"2026-01-22T22:01:52.026Z","modified":"2026-09-08T08:47:33.803Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-283","CWE-284","CWE-639"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.25.3","status":"affected"}],"vendor":"Gitea","product":"Gitea Open Source Git Server","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-opc-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-controller-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"OpenShift Pipelines","package":"openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9","cpe":"cpe:/a:redhat:openshift_pipelines:1","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Go","package":"github.com/go-gitea/gitea","purl":"pkg:golang/github.com/go-gitea/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"},{"ranges":[{"status":"affected","fixed":"1.25.4"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw","tags":["broken-link","vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/36320","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/36355","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4","tags":["article","release-notes","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://blog.gitea.com/release-of-1.25.4/","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-20912","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2432219","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20912.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20912","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/go-gitea/gitea/commit/fbea2c68e8df11cfa94e8ead913b79946780ed30","tags":["web"],"sources":["ghsa","go"]},{"url":"https://blog.gitea.com/release-of-1.25.4","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-4xx9-vc8v-87hv","tags":["advisory"],"sources":["go"]}],"credits":["spingARbor"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-01-23T17:51:12.073Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-20912","url":"https://www.cve.org/CVERecord?id=CVE-2026-20912","licence":"CVE Terms of Use","modified":"2026-07-15T01:20:07.394Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4xx9-vc8v-87hv","url":"https://github.com/advisories/GHSA-4xx9-vc8v-87hv","licence":"CC-BY-4.0","modified":"2026-02-03T03:08:45.128Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4364","url":"https://pkg.go.dev/vuln/GO-2026-4364","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:55.747Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-20912","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20912","licence":"Public domain","modified":"2026-07-15T02:18:24.963Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2026-20912","url":"https://osv.dev/vulnerability/BIT-GITEA-2026-20912","licence":"Apache-2.0","modified":"2026-09-08T08:47:33.803Z"}],"updatedAt":"2026-11-25T22:59:13.083Z","epss":{"score":0.00455,"percentile":0.41182,"date":"2026-12-01T12:00:22.000Z"}}