CVE-2026-86542: Vulnerability in Knowns
Critical. 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.
CWE-22
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Weakness
- CWE-22
- Published
- 7 Sept 2026
- Last change
- 8 Sept 2026
Affected products
Affected versions and the first fixed release
- Knowns Before 0.30.0. Fixed in 0.30.0
Advisories
Vendor and security advisories
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/imports.go
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/imports.go
- github.com/knowns-dev/knowns/security/advisories/GHSA-wh3c-v55g-qfg8
- vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-import-name
Patches and fixes
Updates, commits and release notes
- github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396
- github.com/knowns-dev/knowns/releases/tag/v0.30.0
Related
- Knowns vulnerabilities Recent advisories, watch this product