Path Traversal in zeroGHSA-crf7-fvjx-863q
GHSA-crf7-fvjx-863q is a security vulnerability in zero. A fix is available for zero — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
zeronpmDescription
Versions of zero prior to 1.0.6 are vulnerable to Path Traversal. Due to insufficient input sanitization in URLs, attackers can access server files by using relative paths when fetching files.
Recommendation
Upgrade to version 1.0.6 or later.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | zero | all versions | 1.0.6npm install zero@1.0.6 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for zero, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update zero to 1.0.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-crf7-fvjx-863q is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is GHSA-crf7-fvjx-863q in your dependencies?
Find it across npm, including transitive dependencies.