> ## Content Index
> Fetch the complete content index at: https://ping2prompt.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Gitea 28.4.0 fixes authenticated code execution and other flaws
- URL: https://ping2prompt.com/gitea-2840-fixes-authenticated-rce-via-repository-auto-init-race-and-readme-syml/
- Published: 2026-11-16T16:29:29.000Z
- Updated: 2026-11-16T22:54:04.000Z
- Description: Gitea 28.4.0 fixes security flaws in 28.3.0 and earlier, including CVE-2026-125423, which lets a signed-in user run commands as the Gitea OS account, and CVE-2026-123006 (CVSS 8.8), which exposes password hashes. Update to 28.4.0.
- Author: Ping2Prompt Newsroom
- Tags: Gitea, Self-hosted, Vulnerabilities, High, #auto, #updated, #corrected, #short-ping

**Update (2026-11-16):** This article now covers everything published about this release (15 sources), merged from separate reports.

## What's fixed

Gitea 28.4.0 is a security and bug-fix release that fixes advisories in 28.3.0 and earlier. Among the flaws with a published score, the top is CVE-2026-123006 (CVSS 8.8): any signed-in user can read password hashes, salts and primary emails of public-repository owners through `/repo/search`, while the code-execution flaw CVE-2026-125423 scores 8.5.

- **CVE-2026-125423**: a signed-in user who can create a repository and push can run commands as the Gitea OS account by racing auto-init with a README.md symlink.
- **CVE-2026-123065** (CVSS 8.5): a user with release write permission in any repository can delete other repositories' attachment files from storage.
- **CVE-2026-120729**: stored XSS in the issue reference popup.
- **CVE-2026-126338**: signed-in users can read diff hunks and commit SHAs from reviews in private repositories they cannot access.
- **CVE-2026-128359** (CVSS 5.4): the OAuth2/OIDC provider keeps refreshing tokens for users an admin has deactivated.
- **CVE-2026-128365**: a user with write access can merge their own pull request into a branch that requires approvals.
- **CVE-2026-120991**: an over-quota container upload deletes other owners' package content, on instances with a package size quota.
- **CVE-2026-129337**: read-only users can push over HTTP to a repository while it is being migrated.

The release notes list further lower-severity fixes. The advisory for CVE-2026-125423 reports confirmation only in a lab and says nothing about exploitation in the wild.

## What to do

Update every Gitea instance on 28.3.0 or earlier to 28.4.0, released 2026-11-15.

| Product | Affected  | Fixed  |
| ------- | --------- | ------ |
| Gitea   | <= 28.3.0 | 28.4.0 |

## Sources

- [github.com/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946](https://github.com/go-gitea/gitea/security/advisories/GHSA-6m4f-m9vc-7946?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/releases/tag/v28.4.0](https://github.com/go-gitea/gitea/releases/tag/v28.4.0?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-frjx-8pcw-8c9q](https://github.com/go-gitea/gitea/security/advisories/GHSA-frjx-8pcw-8c9q?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-4p89-xcq8-xfhm](https://github.com/go-gitea/gitea/security/advisories/GHSA-4p89-xcq8-xfhm?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-wmr3-xg9x-vc55](https://github.com/go-gitea/gitea/security/advisories/GHSA-wmr3-xg9x-vc55?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-wgx7-537g-xfrg](https://github.com/go-gitea/gitea/security/advisories/GHSA-wgx7-537g-xfrg?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-jrjr-q3rq-f899](https://github.com/go-gitea/gitea/security/advisories/GHSA-jrjr-q3rq-f899?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-74jf-6hjp-549c](https://github.com/go-gitea/gitea/security/advisories/GHSA-74jf-6hjp-549c?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-q8pg-ggp9-rm9m](https://github.com/go-gitea/gitea/security/advisories/GHSA-q8pg-ggp9-rm9m?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-8cjj-9p56-j54f](https://github.com/go-gitea/gitea/security/advisories/GHSA-8cjj-9p56-j54f?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-8pmc-9g44-v9gw](https://github.com/go-gitea/gitea/security/advisories/GHSA-8pmc-9g44-v9gw?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-7mr2-v9gc-4467](https://github.com/go-gitea/gitea/security/advisories/GHSA-7mr2-v9gc-4467?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-jr33-w6w7-86vj](https://github.com/go-gitea/gitea/security/advisories/GHSA-jr33-w6w7-86vj?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-859w-9wv7-c5x9](https://github.com/go-gitea/gitea/security/advisories/GHSA-859w-9wv7-c5x9?ref=ping2prompt.com)
- [github.com/go-gitea/gitea/security/advisories/GHSA-9827-6wh6-634q](https://github.com/go-gitea/gitea/security/advisories/GHSA-9827-6wh6-634q?ref=ping2prompt.com)

Image: [Image by Schäferle from Pixabay](https://pixabay.com/photos/server-space-the-server-room-dark-2160321/?ref=ping2prompt.com)

---

This story was produced with AI assistance from the sources listed above and fact-checked against them before publication. Read our [editorial methodology](https://ping2prompt.com/about-how-we-work/) and the [corrections log](https://ping2prompt.com/corrections/). Spotted an error? Email [editor@ping2prompt.com](mailto:editor@ping2prompt.com).