CVE-2026-86542
nicheUnauthenticated path traversal file write in knowns import routes
CVE-2026-86542 is a path traversal vulnerability (CWE-22) in the import feature of knowns, which does not validate the import names submitted to its import routes. Because these routes require no authentication, a remote attacker can supply directory-traversal sequences in the 'name' parameter to escape the imports directory. This lets the attacker create or overwrite arbitrary files writable by the server process, which the 8.8 (High) CVSS 4.0 score reflects as high impact to data integrity and availability. Any deployment running knowns before version 0.30.0 is affected. There is no evidence of exploitation so far: no public proof-of-concept is known, the flaw is not in CISA KEV, and EPSS estimates only a ~0.5% chance of exploitation within 30 days.
What to do: Upgrade to knowns 0.30.0 or later, which validates import names and closes the traversal. Until upgraded, restrict network access to the import routes (e.g., firewall rules or reverse-proxy controls) since exploitation requires no authentication or user interaction. If compromise is suspected, check files writable by the server process for unexpected modifications, as overwrites of critical files could also cause service disruption.
| knowns (open-source project) knowns | all versions before 0.30.0 (fixed in 0.30.0) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Weakness
- CWE-22
- Vector
- 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
In the news0 stories
No ingested article mentions this CVE yet.