Skip to content
High-Risk RCE Vulnerability in Gitea Exploited via Race Condition

High-Risk RCE Vulnerability in Gitea Exploited via Race Condition

First seen 16 Nov 2026, 17:17 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 16, 2026 at 17:18 UTC
  • •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.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini

Timeline

2026-11-15
CVE-2026-125423 published
The vulnerability was officially disclosed, outlining the risk of command execution via race condition.
github.com

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?
Gitea versions 28.3.0, 28.2.0, 1.27.1, and 1.25.5 are affected by this vulnerability.
What is the risk of exploitation?
The risk is significant due to the availability of a proof-of-concept and the ease of exploitation for authenticated users.
What should users do to protect themselves?
Users should apply the latest patches provided by Gitea to mitigate this vulnerability.