CVE-2026-123642 Gitea pull request creation without pull request access through AGit
Users with code or wiki access can create pull requests in Gitea repositories they lack pull request access to via AGit.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- No
- Fix
- None listed
What is CVE-2026-123642?
CVE-2026-123642 is a medium-severity missing authorization vulnerability in Gitea, published on 15 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-862
Which versions are affected by CVE-2026-123642?
An affected version is exposed as installed. No special setting or call is needed.
How do I fix CVE-2026-123642?
No fix has been published for CVE-2026-123642 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-123642 being exploited?
There is no known exploitation of CVE-2026-123642 in the wild and no public exploit code.
Sources
Also known as GHSA-9827-6wh6-634q.