CVE-2026-88937
published high CVSS 4.0 · 8.6knowns through 0.36.1 Path Traversal via Template Engine
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| knowns-dev | — | knowns0 through 0.36.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| knowns-dev | knowns | 0 through 0.36.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L318-L344
- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/codegen/template_engine.go#L625-L636
- GitHub Security Advisory (GHSA-68cq-4rwm-f7jr) https://github.com/knowns-dev/knowns/security/advisories/GHSA-68cq-4rwm-f7jr
- GitHub Security Advisory (GHSA-xjcg-5j3r-m6f9) https://github.com/knowns-dev/knowns/security/advisories/GHSA-xjcg-5j3r-m6f9
- VulnCheck Advisory: knowns through 0.33.0 Path Traversal via Template Engine https://www.vulncheck.com/advisories/knowns-through-0.33.0-path-traversal-via-template-engine
Provider assertions
2VulnCheck · cna
knowns through 0.36.1 Path Traversal via Template Engine
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bcde2048da9b50dc16c6cb37f8d307f0a7acd0d5b857ee95ea11d9d50e80c834
- Ingested
- 20 Nov 2026, 14:32:32 UTC
- Source record
- Official CVE record