CVE-2026-88937 Details
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.
A path traversal vulnerability has been identified in the code generation template engine of Known's CLI, affecting versions through 0.33.0. This vulnerability allows attackers to read and write arbitrary files outside the project root. By supplying malicious templates that traverse directories, attackers can overwrite shell profiles, steal credentials, or achieve persistent code execution on victim systems. The issue arises because the template engine fails to properly validate destination paths, allowing exploitation through imported templates.
Users can update to Known's version 0.32.0 or later, where this vulnerability has been fixed. Instructions for updating can be found in the Known's GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 10, 2026CISA-ADP
Assessed Sep 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/knowns-dev/knowns/security/advisories/GHSA-68cq-4rwm-f7jr | CISA-ADP | AdvisoryBundleExploitRemedyVendor |
| https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L318-L344 | [email protected] | Source CodeVendor |
| https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L625-L636 | [email protected] | Source CodeVendor |
| https://github.com/knowns-dev/knowns/security/advisories/GHSA-68cq-4rwm-f7jr | [email protected] | AdvisoryBundleExploitRemedyVendor |
| https://github.com/knowns-dev/knowns/security/advisories/GHSA-xjcg-5j3r-m6f9 | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.vulncheck.com/advisories/knowns-through-0.33.0-path-traversal-via-template-engine | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| knowns | <= 0.33.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 10, 2026 | New CVE Received | [email protected] |
| Sep 10, 2026 | CVE Modified | CISA-ADP |
Volerion