Bug 2547064 (CVE-2026-79960) - CVE-2026-79960 code.gitea.io/gitea: Gitea: Privilege escalation via deploy key authentication
Summary: CVE-2026-79960 code.gitea.io/gitea: Gitea: Privilege escalation via deploy ke...
Keywords:
Status: NEW
Alias: CVE-2026-79960
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-06 19:43 UTC by OSIDB Bzimport
Modified: 2026-11-02 13:10 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-06 19:43:31 UTC
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 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.


Note You need to log in before you can comment on or make changes to this bug.