@inquirer/external-editor is vulnerable to Path traversal
38
CVE Score
Low
Path traversal
The package previously created temp files and launched an external editor in ways that could allow path escaping from the intended temp location and/or unsafe command interpretation. The fix creates a dedicated temporary directory (mkdtempSync) and always places the temp file under it (then recursively cleans it up), and it hardens editor process launching by disabling shell execution (shell: false) and handling spawn errors.
Upgrade the @inquirer/external-editor library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 3.0.2
Fixed in 3.0.3@inquirer/external-editor is vulnerable to Path traversal in versions 0.0.1 - 3.0.2.
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.