CVE-2026-86542 knowns before 0.30.0 Path Traversal via Import Name
Unauthenticated attackers can exploit path traversal in import names to write files outside the intended directory, potentially overwriting arbitrary files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-86542?
CVE-2026-86542 is a high-severity path traversal vulnerability in knowns-dev knowns, published on 7 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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
Which versions are affected by CVE-2026-86542?
How do I fix CVE-2026-86542?
No fix has been published for CVE-2026-86542 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-86542 being exploited?
There is no known exploitation of CVE-2026-86542 in the wild and no public exploit code.
Sources
Also known as GHSA-8mhw-737q-f96r, GHSA-wh3c-v55g-qfg8.