CVE-2026-125423 json
Gitea command execution through repository auto-initialization
published 2d ago modified yesterday also EUVD-2026-126115 , GHSA-6m4f-m9vc-7946
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository go-gitea/gitea. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 22%
- public exploits
- 0
- none known
Summary
A repository created with auto-init accepted pushes before its initialization had finished, and the initial commit was built in a checkout of whatever the repository already contained. A user who is allowed to create repositories could push a crafted tree during that window so that writing the README followed a symbolic link and overwrote a server-side git hook, which runs commands as the Gitea system user. The initial commit is now built in a freshly initialized directory, and a new repository only becomes ready, and accepts pushes, once its initialization is complete.
Patch / fix
- go gitea.dev 28.4.0
- Gitea Gitea 28.4.0
- github.com/go-gitea/gitea#40376 pull request
- github.com/go-gitea/gitea#40383 pull request
- github.com/go-gitea/gitea/releases/tag/v28.4.0 release
Is CVE-2026-125423 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- yesterday
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-17).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gitea.dev | <=28.3.0 |
28.4.0 |
Affected products
- Gitea Gitea
Classification
- Weakness
- Technology feeds
References
-
github.com
/go-gitea/gitea/pull/40376
patch
-
github.com
/go-gitea/gitea/pull/40383
patch
-
github.com
/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946
vendor-advisory, advisory
-
blog.gitea.com
/release-of-28.4.0/
release-notes
-
github.com
/go-gitea/gitea/releases/tag/v28.4.0
release-notes
Sources
- CVE List CVE-2026-125423
- NVD CVE-2026-125423
- Maintainer advisory GHSA-6m4f-m9vc-7946
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of go-gitea/gitea published their own advisory on GitHub. Reviewed sources take precedence over it.