CVE-2026-88937
knowns through 0.33.0 Path Traversal via Template Engine
- State
- Published
- Severity
- 8.6 High
- Published
- Sep 10, 2026
- Updated
- Sep 11, 2026
- Reserved
- Sep 10, 2026
Description
knowns through 0.33.0 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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/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-68cq-4rwm-f7jr)vendor-advisory
- GitHub Security Advisory (GHSA-xjcg-5j3r-m6f9)vendor-advisory
- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L625-L636technical-description
- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L318-L344technical-description
- VulnCheck Advisory: knowns through 0.33.0 Path Traversal via Template Enginethird-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.