# CVE-2026-86538: knowns before 0.30.0 Path Traversal via templateFile parameter

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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): 2.15%, higher than 82% of CVEs (2026-12-01)
- Published: 2026-09-07T23:03:17.221Z
- Modified: 2026-09-24T14:21:22.089Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

knowns versions before 0.30.0 contain a path traversal vulnerability in the POST /api/templates/preview endpoint that allows unauthenticated attackers to read arbitrary files. Attackers can supply directory traversal sequences in the templateFile parameter to bypass path restrictions and read sensitive files like credentials and configuration through the JSON response.

(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.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/knowns-dev/knowns/security/advisories/GHSA-fpxv-c555-rhm3> (vendor-advisory)
- <https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/templates.go#L299-L310> (technical-description)
- <https://github.com/knowns-dev/knowns/commit/09c5a96fd5817b941dc86669278c1a17db10ed4e> (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-templatefile-parameter> (third-party-advisory)

## Sources

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

---

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