CVE-2019-5438
Unauthorized File Access in harp
Path traversal using symlink in npm harp module versions <= 0.29.0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.3
Path traversal using symlink in npm harp module versions <= 0.29.0.
- Record
CVE-2019-5438- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-22, CWE-59
- Updated
- 2026-11-02
CVE List No score
Path traversal using symlink in npm harp module versions <= 0.29.0.
- Record
CVE-2019-5438- Weakness
- CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2019-0510 No score
Path traversal using symlink in npm harp module versions <= 0.29.0.
- Record
EUVD-2019-0510- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6fmm-47qc-p4m4
5.3
Unauthorized File Access in harp
All versions of harp are vulnerable to Unauthorized File Access. If a symlink in the project's base directory points to a file outside of the directory, the file is served. This could allow an attacker to access sensitive files on the server.
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
- Record
GHSA-6fmm-47qc-p4m4- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGHSA-6fmm-47qc-p4m4
5.3
Unauthorized File Access in harp
All versions of harp are vulnerable to Unauthorized File Access. If a symlink in the project's base directory points to a file outside of the directory, the file is served. This could allow an attacker to access sensitive files on the server.
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
- Record
GHSA-6fmm-47qc-p4m4- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
harpnpm |
before 0.40.3 | 0.40.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-5438 is a medium vulnerability (CVSS 5.3) in Harpjs Harp, published May 10, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.49%, the 74th percentile. Fixed in harp 0.40.3.