Gitea pull request creation without pull request access through AGit
- CVE-2026-123642
- EUVD-2026-126125
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.
Text from the CVE.org record.
Recommendation
Gitea
- If you run a version from 1.16.0 to before 28.4.0update to 28.4.0 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Gitea
Affected versions Fixed in from 1.16.0 to before 28.4.0 28.4.0
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.