{"api_version":"1","generated_at":"2026-07-23T14:27:53+00:00","cve":"CVE-2022-46256","urls":{"html":"https://cve.report/CVE-2022-46256","api":"https://cve.report/api/cve/CVE-2022-46256.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-46256","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-46256"},"summary":{"title":"CVE-2022-46256","description":"A path traversal vulnerability was identified in GitHub Enterprise Server that allowed remote code execution 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 instance. This vulnerability was fixed in versions 3.3.17, 3.4.12, 3.5.9, 3.6.5 and 3.7.2. This vulnerability was reported via the GitHub Bug Bounty program.","state":"PUBLIC","assigner":"product-cna@github.com","published_at":"2022-12-14 18:15:00","updated_at":"2023-11-07 03:55:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.2","name":"https://docs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.2","refsource":"","tags":[],"title":"Release notes - GitHub Enterprise Server 3.7 Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.12","name":"https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.12","refsource":"MISC","tags":[],"title":"Release notes - GitHub Enterprise Server 3.4 Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.github.com/en/enterprise-server@3.3/admin/release-notes#3.3.17","name":"https://docs.github.com/en/enterprise-server@3.3/admin/release-notes#3.3.17","refsource":"MISC","tags":[],"title":"Release notes - GitHub Enterprise Server 3.3 Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.9","name":"https://docs.github.com/en/enterprise-server%403.5/admin/release-notes#3.5.9","refsource":"","tags":[],"title":"Release notes - GitHub Enterprise Server 3.5 Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.12","name":"https://docs.github.com/en/enterprise-server%403.4/admin/release-notes#3.4.12","refsource":"","tags":[],"title":"Release notes - GitHub Enterprise Server 3.4 Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.9","name":"https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.9","refsource":"MISC","tags":[],"title":"Release notes - GitHub Enterprise Server 3.5 Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.2","name":"https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.2","refsource":"MISC","tags":[],"title":"Release notes - GitHub Enterprise Server 3.7 Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.5","name":"https://docs.github.com/en/enterprise-server%403.6/admin/release-notes#3.6.5","refsource":"","tags":[],"title":"Release notes - GitHub Enterprise Server 3.6 Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.5","name":"https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.5","refsource":"MISC","tags":[],"title":"Release notes - GitHub Enterprise Server 3.6 Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.17","name":"https://docs.github.com/en/enterprise-server%403.3/admin/release-notes#3.3.17","refsource":"","tags":[],"title":"Release notes - GitHub Enterprise Server 3.3 Docs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-46256","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46256","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"yvvdwf","lang":""}],"nvd_cpes":[{"cve_year":"2022","cve_id":"46256","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"github","cpe5":"enterprise_server","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"product-cna@github.com","ID":"CVE-2022-46256","STATE":"PUBLIC","TITLE":"Path traversal in GitHub Enterprise Server leading to remote code execution in GitHub Pages"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"GitHub Enterprise Server","version":{"version_data":[{"version_affected":"<","version_name":"3.3","version_value":"3.3.17"},{"version_affected":"<","version_name":"3.4","version_value":"3.4.12"},{"version_affected":"<","version_name":"3.5","version_value":"3.5.9"},{"version_affected":"<","version_name":"3.6","version_value":"3.6.5"},{"version_affected":"<","version_name":"3.7","version_value":"3.7.2"}]}}]},"vendor_name":"GitHub"}]}},"credit":[{"lang":"eng","value":"yvvdwf"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A path traversal vulnerability was identified in GitHub Enterprise Server that allowed remote code execution 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 instance. This vulnerability was fixed in versions 3.3.17, 3.4.12, 3.5.9, 3.6.5 and 3.7.2. This vulnerability was reported via the GitHub Bug Bounty program."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://docs.github.com/en/enterprise-server@3.3/admin/release-notes#3.3.17","name":"https://docs.github.com/en/enterprise-server@3.3/admin/release-notes#3.3.17"},{"refsource":"MISC","url":"https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.12","name":"https://docs.github.com/en/enterprise-server@3.4/admin/release-notes#3.4.12"},{"refsource":"MISC","url":"https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.9","name":"https://docs.github.com/en/enterprise-server@3.5/admin/release-notes#3.5.9"},{"refsource":"MISC","url":"https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.5","name":"https://docs.github.com/en/enterprise-server@3.6/admin/release-notes#3.6.5"},{"refsource":"MISC","url":"https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.2","name":"https://docs.github.com/en/enterprise-server@3.7/admin/release-notes#3.7.2"}]},"source":{"discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2022-12-14 18:15:00","lastModifiedDate":"2023-11-07 03:55:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7.0","versionEndExcluding":"3.7.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionStartIncluding":"3.6.0","versionEndExcluding":"3.6.5","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5.0","versionEndExcluding":"3.5.9","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionStartIncluding":"3.4.0","versionEndExcluding":"3.4.12","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*","versionEndExcluding":"3.3.17","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}