Patch Ticker
EnglishEN
Elevated

Gitea repository auto-init race allows server command execution

CVE-2026-125423 and 18 more

Logged-in users can take over self-hosted Gitea code servers.

CVE
CVE-2026-125423 and 18 more
Score
CVSS 8.8 · CVE-2026-125423
First seen
8.8
Products
Disclosed together Windows macOS Linux Gitea

Mitigation

Update Gitea to 28.4.0 or later. The fixed version is 28.4.0.

Summary

Gitea before 28.4.0 lets a signed-in user who can create repositories race auto-initialization and run commands as the Gitea system account. The same release also fixes flaws in access checks, search results and two-factor sign-in limits.

Affected when

  • CVE-2026-125423 a user who can create repositories and auto-init is enabled
  • CVE-2026-123006 the repository has a commit status
  • CVE-2026-123006 28.0.0 or later, before 28.4.0
  • CVE-2026-120991 1.20.0 or later, before 28.4.0
  • CVE-2026-123065 1.15.0 or later, before 28.4.0
  • CVE-2026-118535, CVE-2026-120729 1.27.0 or later, before 28.4.0
  • CVE-2026-129341 1.11.0 or later, before 28.4.0
  • CVE-2026-127958 1.12.0 or later, before 28.4.0
  • CVE-2026-123002 the attacker already knows the account password
  • CVE-2026-123065 the attacker has write access to releases and knows the attachment UUID
  • CVE-2026-120991 a package quota is configured
  • CVE-2026-118535 the repository changed owner after being registered as a scoped workflow source
  • CVE-2026-120725 REQUIRE_SIGNIN_VIEW is set to true
  • CVE-2026-128359 Gitea acts as an OAuth2 provider
  • CVE-2026-129337 the repository is still being created by a migration, fork or template

1 other Incident of this product in the last 30 days

Incidents by product: Gitea

Other recent Incidents of Gitea

All Incidents of 2026-11-16

19 CVEs (every link below opens in a new tab)

Read the advisory · github.com (opens in a new tab)

Each of the 19 CVEs (every link below opens in a new tab)

Show 16 more