CVE-2026-88937
highknowns through 0.33.0 fails to properly validate template destination paths in the code generation template engine, allowing attackers to read and write arbitr…
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L318... disclosure@vulncheck.com
- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L625... disclosure@vulncheck.com
- https://github.com/knowns-dev/knowns/security/advisories/GHSA-68cq-4rwm-f7jr disclosure@vulncheck.com
- https://github.com/knowns-dev/knowns/security/advisories/GHSA-xjcg-5j3r-m6f9 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/knowns-through-0.33.0-path-traversal-via-template-eng... disclosure@vulncheck.com
- https://github.com/knowns-dev/knowns/security/advisories/GHSA-68cq-4rwm-f7jr 134c704f-9b21-4f2e-91b3-4a467353bcc0
