CVE-2026-123642
published medium CVSS 3.1 · 4.3Gitea pull request creation without pull request access through AGit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 1.16.0 to < 28.4.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 1.16.0 to < 28.4.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-862 CWE-862: Missing Authorization
References
5- Gitea 28.4.0 release announcement https://blog.gitea.com/release-of-28.4.0/
- Fix: go-gitea/gitea pull request #40131 https://github.com/go-gitea/gitea/pull/40131
- Fix backport to release/v28: go-gitea/gitea pull request #40281 https://github.com/go-gitea/gitea/pull/40281
- go-gitea/gitea v28.4.0 release https://github.com/go-gitea/gitea/releases/tag/v28.4.0
- GitHub Security Advisory GHSA-9827-6wh6-634q https://github.com/go-gitea/gitea/security/advisories/GHSA-9827-6wh6-634q
Provider assertions
2Gitea · cna
Gitea pull request creation without pull request access through AGit
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d01df05d0dae78fd7450f4de5b8bc6d40f86c444b978ccd55508342e661ee321
- Ingested
- 16 Nov 2026, 21:38:45 UTC
- Source record
- Official CVE record