CVE-2026-123642
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.
How to fix
- Gitea Gitea28.4.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea Gitea | 1.16.0 ≤ v < 28.4.0 | 28.4.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.