CVE-2026-58439 json
Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag
published 2026-07-21 3 mo ago modified 2026-08-26 2 mo ago also GHSA-w5pg-649r-p6gg , GO-2026-6080 , EUVD-2026-58166
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag
Patch / fix
- go code.gitea.io/gitea 1.27.0
- govulncheck-vulndb SLES 16.0, SLES for SAP applications 16.0 0.0.20260727T201416-160000.1.1
suse advisories SUSE-SU-2026:23216-1SUSE-SU-2026:23227-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260727T201416-160000.1.1
opensuse advisories openSUSE-SU-2026:21551-1
- github.com/go-gitea/gitea@74ad781 commit
- github.com/go-gitea/gitea@8401fe7 commit
- github.com/go-gitea/gitea#38319 pull request
- github.com/go-gitea/gitea#38402 pull request
- github.com/go-gitea/gitea/releases/tag/v1.27.0 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-58439 updated cvss 7.7
code.gitea.io/gitea: Gitea: Branch protection bypass via stale approval flag in PR retargeting
-
Red Hat OpenShift Pipelines openshift-pipelines/pipelines-opc-rhel9, openshift-pipelines-client 1.22.0-11814.el9, openshift-pipelines/pipelines-cli-tkn-rhel9, openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9, openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9, openshift-pipelines/pipelines-pipelines-as-code-controller-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/go-gitea/gitea/security/advisories/GHSA-w5pg-649r-p6gg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | <1.27.0 all versions |
1.27.0 |
Affected products
- Gitea Gitea Open Source Git Server
Classification
References
-
github.com
/go-gitea/gitea/pull/38319
web
-
github.com
/go-gitea/gitea/pull/38402
web
-
github.com
/go-gitea/gitea/commit/74ad781db9c37134ee9280c69a6b1de53801503e
web
-
github.com
/go-gitea/gitea/commit/8401fe7c544abff1ecc49d7f3166fd4ee0c174ef
web
-
github.com
/go-gitea/gitea/security/advisories/GHSA-w5pg-649r-p6gg
vendor-advisory, exploit, web, advisory
-
github.com
/go-gitea/gitea/releases/tag/v1.27.0
release-notes, web
-
blog.gitea.com
/gitea-1.27.0-is-released/
release-notes
-
github.com
/go-gitea/gitea
package
Sources
- CVE List CVE-2026-58439
- GitHub Advisory GHSA-w5pg-649r-p6gg
- NVD CVE-2026-58439
- OSV GO-2026-6080
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.