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
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
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)
- CVE-2026-125423Attackers can run commands on the server during repository auto-setup CVSS 8.8 CVE-2026-125423 advisory 1 · CVE-2026-125423 advisory 2 · CVE-2026-125423 advisory 3
- CVE-2026-123638Protected file patterns can be bypassed to change or add protected files CVSS 8.3 CVE-2026-123638 advisory 1 · CVE-2026-123638 advisory 2 · CVE-2026-123638 advisory 3
- CVE-2026-123002Two-factor codes can be guessed by trying them without limit CVSS 7.5 CVE-2026-123002 advisory 1 · CVE-2026-123002 advisory 2 · CVE-2026-123002 advisory 3
Show 16 more
- CVE-2026-123006Repository search exposes the owner's password hash, salt and email CVSS 6.5 CVE-2026-123006 advisory 1 · CVE-2026-123006 advisory 2 · CVE-2026-123006 advisory 3
- CVE-2026-120991Other users' package files can be made undownloadable by deleting them CVSS 6.5 CVE-2026-120991 advisory 1 · CVE-2026-120991 advisory 2 · CVE-2026-120991 advisory 3
- CVE-2026-123065Release edits can delete other attachment files CVSS 5.7 CVE-2026-123065 advisory 1 · CVE-2026-123065 advisory 2 · CVE-2026-123065 advisory 3
- CVE-2026-118535Workflows in a transferred repository can use the previous owner's secrets and tokens CVSS 5.5 CVE-2026-118535 advisory 1 · CVE-2026-118535 advisory 2 · CVE-2026-118535 advisory 3
- CVE-2026-120729A malicious script can run in the session of anyone hovering an issue link CVSS 5.4 CVE-2026-120729 advisory 1 · CVE-2026-120729 advisory 2 · CVE-2026-120729 advisory 3
- CVE-2026-128359Disabled users can still exchange old tokens for new ones CVSS 5.4 CVE-2026-128359 advisory 1 · CVE-2026-128359 advisory 2 · CVE-2026-128359 advisory 3
- CVE-2026-129341Users who lost write access can still delete release files they uploaded CVSS 5.4 CVE-2026-129341 advisory 1 · CVE-2026-129341 advisory 2 · CVE-2026-129341 advisory 3
- CVE-2026-129525Users who can read only issues can see pull request data CVSS 5.4 CVE-2026-129525 advisory 1 · CVE-2026-129525 advisory 2 · CVE-2026-129525 advisory 3
- CVE-2026-127958Pending review content created through the API can be seen by everyone CVSS 5.3 CVE-2026-127958 advisory 1 · CVE-2026-127958 advisory 2 · CVE-2026-127958 advisory 3
- CVE-2026-129337A user with only read access could push branches and tags over Git HTTP to a repository still being created, including one left behind by a failed migration. CVSS 5.3 CVE-2026-129337 advisory 1 · CVE-2026-129337 advisory 2 · CVE-2026-129337 advisory 3
- CVE-2026-123009After losing access to a base repository, a user who had forked it could still copy its current branches into the fork through the web editor and read them. CVSS 4.3 CVE-2026-123009 advisory 1 · CVE-2026-123009 advisory 2 · CVE-2026-123009 advisory 3
- CVE-2026-123642A user with read-only code access, or with SSH write access to the wiki, could open pull requests through the AGit flow in a repository where they have no pull request access. CVSS 4.3 CVE-2026-123642 advisory 1 · CVE-2026-123642 advisory 2 · CVE-2026-123642 advisory 3
- CVE-2026-125617Any signed-in user could query the API to learn whether another user is an owner, admin, or member of an organization, including users who hide their membership. CVSS 4.3 CVE-2026-125617 advisory 1 · CVE-2026-125617 advisory 2 · CVE-2026-125617 advisory 3
- CVE-2026-120725On instances that require sign-in to view, the Git LFS endpoints could let anonymous users download LFS objects from non-private repositories or check whether an object exists. CVSS 3.7 CVE-2026-120725 advisory 1 · CVE-2026-120725 advisory 2 · CVE-2026-120725 advisory 3
- CVE-2026-126338A signed-in user could reply to a pull request they can access using a review ID from a repository they cannot read, exposing the diff context of the commented lines. CVSS 3.1 CVE-2026-126338 advisory 1 · CVE-2026-126338 advisory 2 · CVE-2026-126338 advisory 3
- CVE-2026-128365Removing a team's review request could select an approval left by the Actions user and let it count toward the approvals required by branch protection. CVSS 3.1 CVE-2026-128365 advisory 1 · CVE-2026-128365 advisory 2 · CVE-2026-128365 advisory 3