CVE-2026-86542
knowns before 0.30.0 Path Traversal via Import Name
- State
- Published
- Severity
- 8.8 High
- Published
- Sep 7, 2026
- Updated
- Sep 24, 2026
- Reserved
- Sep 7, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.8 High | 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 | VulnCheck |
| 3.1 | 9.1 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
knownsknowns-dev |
|
References
- GitHub Security Advisory (GHSA-wh3c-v55g-qfg8)vendor-advisory
- Import add builds the destination from the caller-supplied name (v0.29.1)technical-description
- gitCloneImport writes cloned files beneath the unvalidated name (v0.29.1)technical-description
- knowns fix commit d3989829fb50patch
- knowns v0.30.0 Release Notesrelease-notes
- VulnCheck Advisory: knowns before 0.30.0 Path Traversal via Import Namethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.