github.com High-Risk RCE Vulnerability in Gitea Exploited via Race Condition
Article Content
- •CVE-2026-125423 allows RCE via a race condition in Gitea repository creation.
- •Attackers can exploit this flaw without administrative privileges.
- •A proof-of-concept is publicly available, increasing the risk of exploitation.
CVE-2026-125423 is a high-severity vulnerability affecting Gitea, allowing authenticated, non-administrative users to execute commands as the Gitea service account. The flaw arises from a race condition during repository creation with auto_init=true, enabling an attacker to push to a repository before its initialization completes.
If the attacker's reference becomes visible before Gitea clones the repository, the attacker can control the content of the README.md file, which is symlinked to server-side hooks. This results in the execution of arbitrary commands when the post-receive hook is triggered.
The vulnerability affects multiple Gitea versions, including 28.3.0, 28.2.0, 1.27.1, and 1.25.5, and has been confirmed in tests with various database backends.
The CVE was published on November 15, 2026, and a proof-of-concept (PoC) is available, posing a significant risk to users who have not yet patched their systems.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (3)
Following this threat?
Track CVE-2026-125423 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.
Free account · no card needed
Common questions
Which versions of Gitea are affected?
What is the risk of exploitation?
What should users do to protect themselves?
Continue Reading
Gitea 28.4.0 Addresses Security Vulnerabilities Gitea has released version 28.4.0, which addresses multiple security vulnerabilities, including CVE-2026-125423 and CVE-2026-123006. CVE-2026-125423 allows users to exploit a race condition during repository initialization, potentially executing commands as the Gitea system user. CVE-2026-123006 exposes internal user…
React Server Components RCE Vulnerability CVE-2025-55182 Disclosed and Patched A critical unauthenticated remote code execution vulnerability, CVE-2025-55182, exists in React Server Components, reported by Lachlan Davidson on November 29 and rated CVSS 10.0. The flaw lies in how React decodes payloads sent to React Server Function endpoints. Vulnerable versions are 19.0, 19.1.0, 19.1.1, and…