{"id":"GO-2026-6080","revision":"122c0f792e6045b682dbdc0b5a067ff8","records":[{"revision":"122c0f792e6045b682dbdc0b5a067ff8","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6080","aliases":["CVE-2026-58439","GHSA-w5pg-649r-p6gg"],"title":"Gitea: Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag in go-gitea/gitea","description":"Gitea: Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag in go-gitea/gitea.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: code.gitea.io/gitea before v1.27.0.","state":0,"publishedAt":"2026-07-27T15:32:45+00:00","modifiedAt":"2026-07-27T17:00:26.0180619+00:00","affected":[{"ecosystem":"Go","name":"code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-w5pg-649r-p6gg","https://github.com/go-gitea/gitea/commit/74ad781db9c37134ee9280c69a6b1de53801503e","https://github.com/go-gitea/gitea/commit/8401fe7c544abff1ecc49d7f3166fd4ee0c174ef","https://github.com/go-gitea/gitea/pull/38319","https://github.com/go-gitea/gitea/pull/38402","https://github.com/go-gitea/gitea/releases/tag/v1.27.0"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6080","license":"OSV · upstream source license applies","key":"osv:GO-2026-6080","identifiers":["GO-2026-6080","CVE-2026-58439","GHSA-w5pg-649r-p6gg"]},"retained":false,"historicalAffected":[]}],"coverage":[]}