Path Traversal in serveyGHSA-rv49-54qp-fw42
Fix: typeorm/typeorm@d46c8b0GHSA-rv49-54qp-fw42 is a security vulnerability in servey. A fix is available for servey — 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.
serveynpmDescription
Versions of servey prior to 3.x are vulnerable to Path Traversal. Due to insufficient input sanitization, attackers can access server files by using relative paths.
Recommendation
Upgrade to the latest version
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | servey | all versions | 3.1.0npm install servey@3.1.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for servey, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update servey to 3.1.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-rv49-54qp-fw42 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-rv49-54qp-fw42 in your dependencies?
Find it across npm, including transitive dependencies.