Advisory record · GHSA-xxjv-752h-3vp2

Gitea: Public-only repository tokens can update private PR head branches

CVSS 9.6 CriticalCriticalEPSS 0.0058 · 48th percentile

Critical, because:

  • CVSS score 9.6: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 21 Jul 2026, 20:38 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
code.gitea.io/giteaGo<1.27.01.27.0
Identifiers
GHSA-xxjv-752h-3vp2 · CVE-2026-58443 · GO-2026-6086
Weakness (CWE)
CWE-863
Published
21 Jul 2026
Updated
27 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Gitea versions before 1.27.0 let a token limited to public repositories (public-only, write:repository) update a private pull request head branch through a route on a public base repository. An attacker needs a valid token from a user with normal write access to the private head branch, plus a public base repository and a pull request linking it to the private head. The result is that public base commits can be pushed into the private branch, and push workflows may run when Actions is enabled. Upgrade to Gitea 1.27.0 or later.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.6 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0058, the 48th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:55 UTC First seen by agentprime
  2. 31 Oct 2026, 14:55 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.