{"id":"CVE-2026-123642","state":"PUBLISHED","title":"Gitea pull request creation without pull request access through AGit","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.","publishedAt":"2026-11-15T21:14:05.726Z","updatedAt":"2026-11-16T21:32:13.791Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"CISA-ADP"},"assigner":"Gitea","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"1.16.0","status":"affected","lessThan":"28.4.0","versionType":"semver"}]}],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-9827-6wh6-634q","https://github.com/go-gitea/gitea/pull/40131","https://github.com/go-gitea/gitea/pull/40281","https://blog.gitea.com/release-of-28.4.0/","https://github.com/go-gitea/gitea/releases/tag/v28.4.0"],"weaknesses":["CWE-862"],"ingestedAt":"2026-11-16T21:42:06.042Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/123xxx/CVE-2026-123642.json","commit":"21cfe67f445e9a97d3000d5bf914f000c1bafaa0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123642","state":"PUBLISHED","datePublished":"2026-11-15T21:14:05.726Z","dateUpdated":"2026-11-16T21:32:13.791Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-11-15T20:31:51.064Z"},"containers":{"cna":{"title":"Gitea pull request creation without pull request access through AGit","descriptions":[{"lang":"en","value":"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":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"1.16.0","status":"affected","lessThan":"28.4.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-9827-6wh6-634q","name":"GitHub Security Advisory GHSA-9827-6wh6-634q","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/40131","name":"Fix: go-gitea/gitea pull request #40131","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/40281","name":"Fix backport to release/v28: go-gitea/gitea pull request #40281","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-28.4.0/","name":"Gitea 28.4.0 release announcement","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","name":"go-gitea/gitea v28.4.0 release","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","type":"CWE","description":"CWE-862: Missing Authorization"}]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-11-15T21:14:05.726Z"},"credits":[{"lang":"en","value":"https://github.com/silverwind","type":"remediation developer"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":4.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-16T21:32:05.826976Z","id":"CVE-2026-123642","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-16T21:32:13.791Z"}}]}}}