CVE-2026-123642
Dashboard / Vulnerabilities / CVE-2026-123642
Summary: Gitea pull request creation without pull request access through AGit
Details: 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.
References: https://blog.gitea.com/release-of-28.4.0/, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123642.json, https://github.com/go-gitea/gitea/releases/tag/v28.4.0, https://github.com/go-gitea/gitea/security/advisories/GHSA-9827-6wh6-634q, https://nvd.nist.gov/vuln/detail/CVE-2026-123642, https://github.com/go-gitea/gitea/pull/40131, https://github.com/go-gitea/gitea/pull/40281
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
