Unrated severityNVD Advisory· Published Dec 14, 2022· Updated Apr 22, 2025
Improper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCE
CVE-2022-46255
Description
An improper limitation of a pathname to a restricted directory vulnerability was identified in GitHub Enterprise Server that enabled remote code execution. A check was added within Pages to ensure the working directory is clean before unpacking new content to prevent an arbitrary file overwrite bug. This vulnerability affected only version 3.7.0 of GitHub Enterprise Server and was fixed in version 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2= 3.7.0+ 1 more
- (no CPE)range: = 3.7.0
- (no CPE)range: 3.7
Patches
Vulnerability mechanics
References
1News mentions
0No linked articles in our index yet.