{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118386","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","state":"PUBLISHED","assignerShortName":"Gitea","dateReserved":"2026-11-01T08:48:41.145Z","datePublished":"2026-11-01T09:47:07.487Z","dateUpdated":"2026-11-06T15:44:56.287Z"},"containers":{"cna":{"providerMetadata":{"orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","shortName":"Gitea","dateUpdated":"2026-11-01T09:47:07.487Z"},"title":"Gitea Actions fork workflow trust through pull request review commit","descriptions":[{"lang":"en","value":"Workflows triggered by a pull request review were read from the commit named in the review's `commit_id`, while the fork restrictions were decided by the reviewed pull request, and the commit was not checked to belong to that pull request. A user with read access to a repository could place a commit of their own in it, through a fork pull request or an AGit push, and submit a review naming that commit on a pull request whose head branch is in the same repository. On instances with a runner serving the repository, the attacker's workflow then ran without approval, received the Actions secrets of the repository and its owner, and got a `GITEA_TOKEN` with write access to the repository. Review-triggered workflows now run on the pull request head."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageName":"gitea.dev","defaultStatus":"unaffected","versions":[{"version":"1.19.0","status":"affected","lessThan":"28.3.0","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-32h8-5xqg-h466","name":"GitHub Security Advisory GHSA-32h8-5xqg-h466","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/40099","name":"Fix: go-gitea/gitea pull request #40099","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/pull/40117","name":"Fix backport to release/v28: go-gitea/gitea pull request #40117","tags":["patch"]},{"url":"https://blog.gitea.com/release-of-28.3.0/","name":"Gitea 28.3.0 release announcement","tags":["release-notes"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.3.0","name":"go-gitea/gitea v28.3.0 release","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-863","description":"CWE-863: Incorrect Authorization"}]}],"credits":[{"lang":"en","value":"https://github.com/silverwind","type":"remediation developer"},{"lang":"en","value":"https://github.com/bircni","type":"remediation reviewer"},{"lang":"en","value":"https://github.com/wxiaoguang","type":"remediation reviewer"}]},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-11-06T15:44:31.233331Z","id":"CVE-2026-118386","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-06T15:44:56.287Z"}}]}}