{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-41599","id":"CVE-2021-41599","title":"Improper control flow in GitHub Enterprise Server hosted Pages leads to remote code execution","description":"A remote code execution vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.3 and was fixed in versions 3.0.2","descriptionLong":"A remote code execution vulnerability was identified in GitHub Enterprise Server that could be exploited when building a GitHub Pages site. To exploit this vulnerability, an attacker would need permission to create and build a GitHub Pages site on the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.3 and was fixed in versions 3.0.21, 3.1.13, 3.2.5. This vulnerability was reported via the GitHub Bug Bounty program.","published":"2022-02-17T23:35:12.000Z","updated":"2026-06-17T04:08:42.977Z","reserved":"2021-09-24T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_P","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["GitHub Enterprise Server"],"affectedProducts":[{"vendor":"GitHub","product":"GitHub Enterprise Server","defaultStatus":null,"versions":[{"lessThan":"3.0.21","status":"affected","version":"3.0","versionType":"custom"},{"lessThan":"3.1.13","status":"affected","version":"3.1","versionType":"custom"},{"lessThan":"3.2.5","status":"affected","version":"3.2","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-77"],"aliases":[],"references":[{"url":"https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.21","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.13","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.5","tags":["x_refsource_MISC","x_transferred"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02223,"epssPercentile":0.83046,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-41599","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41599","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-41599","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-41599","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}