# CVE-2026-86542: knowns before 0.30.0 Path Traversal via Import Name

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-09-07T23:03:20.058Z
- Modified: 2026-09-24T14:21:26.008Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- knowns-dev knowns: before 0.30.0 (not affected: 0.30.0)

## Every score

- VulnCheck: CVSS: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: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/knowns-dev/knowns/security/advisories/GHSA-wh3c-v55g-qfg8> (vendor-advisory)
- <https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/imports.go#L519-L551> (technical-description)
- <https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/imports.go#L376-L420> (technical-description)
- <https://github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396> (patch)
- <https://github.com/knowns-dev/knowns/releases/tag/v0.30.0> (release-notes)
- <https://www.vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-import-name> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-86542](https://www.cve.org/CVERecord?id=CVE-2026-86542), CVE Terms of Use, modified 2026-09-24
- NVD: [CVE-2026-86542](https://nvd.nist.gov/vuln/detail/CVE-2026-86542), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-86542 · Whole record: https://cve.day/CVE-2026-86542.json · Rebuilt by cve.day 2026-11-25T22:59:36.562Z
