# CVE-2026-88937: knowns through 0.36.1 Path Traversal via Template Engine

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/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.52%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-10T15:28:52.507Z
- Modified: 2026-11-20T15:17:59.730Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

knowns through 0.36.1 fails to properly validate template destination paths in the code generation template engine, allowing attackers to read and write arbitrary files outside the project root. Attackers can supply malicious templates that traverse directories to overwrite shell profiles, steal credentials, or achieve persistent code execution on victim systems.

(As written by CVE List.)

## Affected

- knowns-dev knowns: up to 0.36.1

## Every score

- VulnCheck: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/knowns-dev/knowns/security/advisories/GHSA-68cq-4rwm-f7jr> (exploit, vendor-advisory)
- <https://github.com/knowns-dev/knowns/security/advisories/GHSA-xjcg-5j3r-m6f9> (vendor-advisory)
- <https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L625-L636> (technical-description)
- <https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L318-L344> (technical-description)
- <https://www.vulncheck.com/advisories/knowns-through-0.33.0-path-traversal-via-template-engine> (third-party-advisory)

## Sources

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

---

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