CVE-2026-123642 Gitea pull request creation without pull request access through AGit
MediumCVSS 4.3
EPSS 0.34%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
The AGit flow (pushing to refs/for/...) did not check the pusher's access to pull requests again when it created the pull request. A user or deploy key with read access to the code only, or with write access to the wiki over SSH, could open pull requests in a repository where they have no access to pull requests. Creating a pull request through AGit now requires read access to the pull requests of the repository and is refused for wiki pushes.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | >= 1.16.0, < 28.4.0 | 28.4.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | >= 1.16.0, < 28.4.0 | 28.4.0 |
References
- GitHub Security Advisory GHSA-9827-6wh6-634q vendor-advisory
- Fix: go-gitea/gitea pull request #40131 patch
- Fix backport to release/v28: go-gitea/gitea pull request #40281 patch
- Gitea 28.4.0 release announcement release-notes
- go-gitea/gitea v28.4.0 release release-notes
- ENISA EUVD EUVD-2026-126125 third-party-advisory