powershell is vulnerable to Path Traversal
53
CVE Score
Medium
Path Traversal
The Update-Help and Save-Help cmdlets in powershell extract downloaded help content from CAB archives. The extraction routine combines each archive entry path with the destination help directory without validating it, so an entry containing directory traversal sequences, a rooted or UNC path, or an alternate data stream reference is written outside the intended directory. Processing a crafted help CAB from an untrusted help source therefore allows arbitrary files to be created or overwritten, which can lead to code execution. The fix validates each entry against the canonical help directory and rejects rooted paths, colon/ADS paths, and any path that resolves outside the target directory.
Upgrade the powershell library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you run Update-Help or Save-Help against an untrusted or attacker-controlled help source.
7.0.0 - 7.4.17
Fixed in 7.4.187.5.0 - 7.5.8
Fixed in 7.5.97.6.0 - 7.6.3
Fixed in 7.6.4powershell is vulnerable to Path Traversal in versions 7.0.0 - 7.4.17, 7.5.0 - 7.5.8 and 7.6.0 - 7.6.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.