Skip to main content
VulnerabilityPublished Updated

CVE-2026-24059: Gitea Open Source Git Server · Improper Privilege Management

Affects Gitea Open Source Git ServerSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 1.25.5 when convenient.

Data as of 12 Nov 2026, 23:24 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.25.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade Gitea Open Source Git Server to 1.25.5.

Affected software

ProductAffectedFixed in
GiteaGitea Open Source Git ServerAffected
  • <1.25.5
Fixed in
  • 1.25.5

AI-suggested

If you cannot patch yet, restrict the exposure of read:user-scoped tokens and monitor for unauthorized runner registrations. Avoid leaking tokens with read:user scope and consider limiting token permissions where possible.

Description

CVE-2026-24059 is a vulnerability in Gitea Open Source Git Server where a GET API endpoint that should be read-only actually creates a new runner registration token if none exists. This occurs because the API scope middleware incorrectly treats the GET request as read-only. An attacker with a leaked read:user-scoped token can exploit this to generate a registration token and register a malicious Actions runner, which can then execute workflow jobs with access to repository secrets and source code.

References

Community reviews

Loading reviews…