CVE-2026-79960
published high CVSS 3.1 · 7.1Gitea deploy key pushes acting as the repository owner
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 1.27.3 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
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.
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.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 1.27.3 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-863 CWE-863: Incorrect Authorization
References
4- Gitea 28.0.0 release announcement https://blog.gitea.com/release-of-28.0.0/
- Fix: go-gitea/gitea pull request #37306 https://github.com/go-gitea/gitea/pull/37306
- go-gitea/gitea v28.0.0 release https://github.com/go-gitea/gitea/releases/tag/v28.0.0
- GitHub Security Advisory GHSA-7769-9pr9-m24h https://github.com/go-gitea/gitea/security/advisories/GHSA-7769-9pr9-m24h
Provider assertions
2Gitea · cna
Gitea deploy key pushes acting as the repository owner
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f7be8197292979d0e5818ca0c727ec2a5cae92ff07dd613465377c485164c085
- Ingested
- 07 Oct 2026, 15:05:13 UTC
- Source record
- Official CVE record