{"cve":"CVE-2026-118386","nvd":{"published":"2026-11-01T10:18:36.073","modified":"2026-11-01T10:18:36.187","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-863"],"references":["https://blog.gitea.com/release-of-28.3.0/","https://github.com/go-gitea/gitea/pull/40099","https://github.com/go-gitea/gitea/pull/40117","https://github.com/go-gitea/gitea/releases/tag/v28.3.0","https://github.com/go-gitea/gitea/security/advisories/GHSA-32h8-5xqg-h466"],"reference_tags":[{"url":"https://blog.gitea.com/release-of-28.3.0/","tags":[]},{"url":"https://github.com/go-gitea/gitea/pull/40099","tags":[]},{"url":"https://github.com/go-gitea/gitea/pull/40117","tags":[]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.3.0","tags":[]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-32h8-5xqg-h466","tags":[]}],"products":[],"affected":[],"source":"nvd","synced_at":"2026-11-01T10:34:16.358491727+00:00"},"epss":{"cve":"CVE-2026-118386","score":0.00198,"percentile":0.09604,"date":"2026-11-01"},"kev":null,"exploits":[],"weaknesses":[{"name":"Incorrect Authorization","common_name":null,"deprecated":false,"replaced_by":[],"id":"CWE-863"}],"osv":[],"fixed":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program.","Public exploits: links to the Exploit Database (https://www.exploit-db.com, by OffSec; index under GPL-2.0), Rapid7's Metasploit Framework modules (https://github.com/rapid7/metasploit-framework, BSD-3-Clause) and ProjectDiscovery's nuclei templates (https://github.com/projectdiscovery/nuclei-templates, MIT). Only the links, titles and dates are stored; no exploit code is fetched or served.","CWE names and descriptions: MITRE's Common Weakness Enumeration (https://cwe.mitre.org), Copyright © 2006–2026, The MITRE Corporation, under the CWE terms of use (https://cwe.mitre.org/about/termsofuse.html). CWE is a trademark of The MITRE Corporation."]}