{"id":"CVE-2026-79960","title":"When a push was authenticated with a deploy key, Gitea recorded the repository owner as the pusher, so permission checks in the push hook pipeline evaluated the owner instead of the deploy key","summary":"When a push was authenticated with a deploy key, Gitea recorded the repository owner as the pusher, so permission checks in the push hook pipeline evaluated the owner instead of the deploy key. A holder of a writable deploy key could cre…","severity":"high","cvss":7.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","cwe":["CWE-863"],"vendor":"Gitea","product":"gitea.dev","affected":["gitea.dev <= 1.27.3"],"published":"2026-10-06","updated":"2026-10-07","sourceUpdated":"2026-10-07T15:17:54.240","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-79960","references":[{"url":"https://blog.gitea.com/release-of-28.0.0/","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/37306","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-7769-9pr9-m24h","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"}],"tags":["nvd","cve.org"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-07T14:20:37.099663Z"},"ingestedAt":"2026-10-06T20:16:42.495Z","slug":"CVE-2026-79960","body":"## Overview\n\nWhen a push was authenticated with a deploy key, Gitea recorded the repository owner as the pusher, so permission checks in the push hook pipeline evaluated the owner instead of the deploy key. A holder of a writable deploy key could create protected tags without being on the tag allow list and change repository visibility through push options, for example making a private repository public. Pull requests created through the AGit flow with a deploy key were also attributed to the owner.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":39.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":217526,"id":"CVE-2026-79960","ts":1791383703047,"field":"cvss","old":null,"new":"7.1"},{"seq":217525,"id":"CVE-2026-79960","ts":1791383703047,"field":"severity","old":"none","new":"high"}]}