CVE-2026-88937
knowns through 0.33.0 fails to properly validate template …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L318-L344
- github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L625-L636
- github.com/knowns-dev/knowns/security/advisories/GHSA-68cq-4rwm-f7jr
- github.com/knowns-dev/knowns/security/advisories/GHSA-xjcg-5j3r-m6f9
- www.vulncheck.com/advisories/knowns-through-0.33.0-path-traversal-via-template-engine
- nvd.nist.gov/vuln/detail/CVE-2026-88937
- cve.org/CVERecord?id=CVE-2026-88937
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.