{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-22862","published":"2021-03-03T04:15:13.163000Z","last_modified":"2026-06-17T03:37:54.070000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-285"],"cpes":[{"criteria":"cpe:2.3:a:github:github:3.0.0:-:*:*:*:*:*:*","part":"a","vendor":"github","product":"github","version":"3.0.0"},{"criteria":"cpe:2.3:a:github:github:3.0.0:rc1:*:*:*:*:*:*","part":"a","vendor":"github","product":"github","version":"3.0.0"},{"criteria":"cpe:2.3:a:github:github:3.0.0:rc2:*:*:*:*:*:*","part":"a","vendor":"github","product":"github","version":"3.0.0"}],"cpes_truncated":false,"vendors":["github"],"products":["github/github"],"epss":{"score":0.00849,"percentile":0.59254,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2021-22862/","html_en":"/en/cve/CVE-2021-22862/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-22862","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-22862"},"untrusted":{"vendor_name":"Github","product_name":"Github","desc_en":"An improper access control vulnerability was identified in GitHub Enterprise Server that allowed an authenticated user with the ability to fork a repository to disclose Actions secrets for the parent repository of the fork. This vulnerability existed due to a flaw that allowed the base reference of a pull request to be updated to point to an arbitrary SHA or another pull request outside of the fork repository. By establishing this incorrect reference in a PR, the restrictions that limit the Actions secrets sent a workflow from forks could be bypassed. This vulnerability affected GitHub Enterprise Server version 3.0.0, 3.0.0.rc2, and 3.0.0.rc1. This vulnerability was reported via the GitHub Bug Bounty program.","affected":[{"untrusted_vendor":"GitHub","untrusted_product":"GitHub Enterprise Server","versions":[]}],"references":[{"url":"https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.1","tags":[]}]}}