CVE-2026-86542 json
knowns before 0.30.0 Path Traversal via Import Name
published 2mo ago modified last mo. also EUVD-2026-72560 , GHSA-wh3c-v55g-qfg8
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository knowns-dev/knowns. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
knowns before 0.30.0 fails to validate import names in the import routes, allowing unauthenticated attackers to write files outside the imports directory. Attackers can supply traversal sequences in the name parameter to escape the imports directory and overwrite arbitrary files writable by the server process.
Patch / fix
- npm knowns 0.30.0
- knowns-dev knowns 0.30.0
Is CVE-2026-86542 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.8 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| CNA | 4.0 | 8.8 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | knowns | <=0.29.1 |
0.30.0 |
Affected products
- knowns-dev knowns
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396
patch
-
github.com
/knowns-dev/knowns/security/advisories/GHSA-wh3c-v55g-qfg8
vendor-advisory, advisory
-
github.com
/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/imports.go#L519-L551
technical-description
-
github.com
/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/imports.go#L376-L420
technical-description
-
github.com
/knowns-dev/knowns/releases/tag/v0.30.0
release-notes
-
vulncheck.com
/advisories/knowns-before-0.30.0-path-traversal-via-import-name
third-party-advisory
Sources
- CVE List CVE-2026-86542
- NVD CVE-2026-86542
- Maintainer advisory GHSA-wh3c-v55g-qfg8
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of knowns-dev/knowns published their own advisory on GitHub. Reviewed sources take precedence over it.