CVE-2026-86775Knowns Dev Knowns path traversal
CVSS score
8.8
High
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.75%
0.75% chance of exploitation in the next 30 days, higher than 55.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
knowns (npm package) versions <= 0.29.1 contain a path traversal vulnerability in the Document API. The HTTP handler in internal/server/routes/docs.go normalizes the user-supplied document path with cleanDocPath(), which strips leading/trailing slashes and the .md suffix but does not neutralize ../ traversal sequences, and internal/storage/doc_store.go then builds the target path with filepath.Join(ds.docsDir(), filepath.FromSlash(doc.Path)+".md") without verifying that the resolved path remains inside the documents directory. In the default deployment, where the Management API is unauthenticated and bound to all interfaces, a remote unauthenticated attacker can supply a traversal payload (for example {"path": "../../../../tmp/knowns_pwn_marker"} to POST /api/docs, or an encoded path to GET /api/docs/...) to read, create, overwrite, or delete arbitrary files with a .md extension anywhere on the host filesystem and to create arbitrary directories via os.MkdirAll. This can expose sensitive data stored in other projects' documentation, corrupt or destroy files, and provide an arbitrary-write primitive that may be chained toward code execution. The issue is fixed in version 0.30.0.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running knowns-dev Knowns and compare its version with the affected versions.
Update to a fixed version
- Update Knowns to 0.30.0 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- Low
- Integrity
- High
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/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 products
| Affected products | Versions |
|---|---|
| knowns-dev Knowns | < 0.30.0 |
Weakness
- CWE-22 path traversal
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-86775 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.7% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-86775?
CVE-2026-86775 has a CVSS 4.0 base score of 8.8 (high).
Which versions are affected?
Knowns Dev Knowns (< 0.30.0)
Is there a patch for CVE-2026-86775?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.