CVE-2026-123642

Gitea pull request creation without pull request access through AGit

Medium published · updated

4.3
CVSS score out of 10 · NVD (134c704f-9b21-4f2e-91b3-4a467353bcc0)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
gitea gitea 1.16.0 → <28.4.028.4.0 CVE.org

References