CVE-2026-88937 json
knowns through 0.33.0 Path Traversal via Template Engine
published 2mo ago modified 2mo ago also EUVD-2026-75580 , GHSA-68cq-4rwm-f7jr , GHSA-xjcg-5j3r-m6f9
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
- 8.8
- 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 51%
- public exploits
- 0
- none known
Summary
knowns through 0.33.0 fails to properly validate template destination paths in the code generation template engine, allowing attackers to read and write arbitrary files outside the project root. Attackers can supply malicious templates that traverse directories to overwrite shell profiles, steal credentials, or achieve persistent code execution on victim systems.
Patch / fix
- npm knowns 0.32.0
Is CVE-2026-88937 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
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2mo ago
Exploit prediction
0.65% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/knowns-dev/knowns/security/advisories/GHSA-68cq-4rwm-f7jr referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/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 |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | knowns | <=0.33.0 0.31.0 |
0.32.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/security/advisories/GHSA-68cq-4rwm-f7jr
vendor-advisory, exploit, advisory
-
github.com
/knowns-dev/knowns/security/advisories/GHSA-xjcg-5j3r-m6f9
vendor-advisory, advisory
-
github.com
/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L625-L636
technical-description
-
github.com
/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L318-L344
technical-description
-
vulncheck.com
/advisories/knowns-through-0.33.0-path-traversal-via-template-engine
third-party-advisory
Sources
- CVE List CVE-2026-88937
- NVD CVE-2026-88937
- Maintainer advisory GHSA-68cq-4rwm-f7jr
- Maintainer advisory GHSA-xjcg-5j3r-m6f9
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.