# CVE-2026-123642: Gitea pull request creation without pull request access through AGit

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-11-15T21:14:05.726Z
- Modified: 2026-11-16T22:18:15.930Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- gitea.dev: from 1.16.0 before 28.4.0

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-9827-6wh6-634q> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/40131> (patch)
- <https://github.com/go-gitea/gitea/pull/40281> (patch)
- <https://blog.gitea.com/release-of-28.4.0/> (release-notes)
- <https://github.com/go-gitea/gitea/releases/tag/v28.4.0> (release-notes)

## Sources

- CVE List: [CVE-2026-123642](https://www.cve.org/CVERecord?id=CVE-2026-123642), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2026-123642](https://nvd.nist.gov/vuln/detail/CVE-2026-123642), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-123642 · Whole record: https://cve.day/CVE-2026-123642.json · Rebuilt by cve.day 2026-11-25T22:59:50.838Z
