{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-22870","id":"CVE-2021-22870","title":"Path traversal in GitHub Enterprise Server hosted Pages leads to unauthorized file read access","description":"A path traversal vulnerability was identified in GitHub Pages builds on GitHub Enterprise Server that could allow an attacker to read system files. 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 versio","descriptionLong":"A path traversal vulnerability was identified in GitHub Pages builds on GitHub Enterprise Server that could allow an attacker to read system files. 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.19, 3.1.11, and 3.2.3. This vulnerability was reported via the GitHub Bug Bounty program.","published":"2021-11-10T01:55:11.000Z","updated":"2026-06-17T03:37:55.003Z","reserved":"2021-01-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_P","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["GitHub Enterprise Server"],"affectedProducts":[{"vendor":"GitHub","product":"GitHub Enterprise Server","defaultStatus":null,"versions":[{"lessThan":"3.0.19","status":"affected","version":"3.0","versionType":"custom"},{"lessThan":"3.1.11","status":"affected","version":"3.1","versionType":"custom"},{"lessThan":"3.2.3","status":"affected","version":"3.2","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-23","CWE-22"],"aliases":[],"references":[{"url":"https://docs.github.com/en/enterprise-server%403.0/admin/release-notes#3.0.19","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://docs.github.com/en/enterprise-server%403.1/admin/release-notes#3.1.11","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://docs.github.com/en/enterprise-server%403.2/admin/release-notes#3.2.3","tags":["x_refsource_MISC","x_transferred"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01103,"epssPercentile":0.6644,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-22870","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22870","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-22870","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-22870","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}