knowns through 0.33.0 Path Traversal via Template Engine
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-88937
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:05 UTC · Revision 1
Source evidence
knowns through 0.33.0 Path Traversal via Template Engine
core-osv · Original sourcePublished 10 Sept 2026, 15:28 UTC
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.
osv:CVE-2026-88937
Complete source record
{
"id": "007318520382609951357a7f71a874063def78dd6554b2f63bef1db05462fc4b",
"url": "https://osv.dev/vulnerability/CVE-2026-88937",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "knowns through 0.33.0 Path Traversal via Template Engine",
"summary": "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.",
"evidence": "osv:CVE-2026-88937",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-88937",
"aliases": [
"CVE-2026-88937"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/knowns-dev/knowns",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "c6ed4cb8548c266930910d3b24b7605fa2c21150"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.33.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.33.0"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v0.33.0",
"v0.32.0",
"v0.31.0",
"v0.30.0",
"v0.29.1",
"v0.29.0",
"v0.28.0",
"v0.27.1",
"v0.27.0",
"v0.23.0",
"v0.26.0",
"v0.25.0",
"v0.24.1",
"v0.24.0",
"v0.22.2",
"v0.22.1",
"v0.22.0",
"v0.21.0",
"v0.20.5",
"v0.20.4",
"v0.20.3",
"v0.20.2",
"v0.20.1",
"v0.20.0",
"v0.19.2",
"v0.19.1",
"v0.19.0",
"v0.18.4",
"v0.18.3",
"v0.18.2",
"v0.18.1",
"v0.18.0",
"v0.17.1",
"v0.17.0",
"v0.16.3",
"v0.16.2",
"v0.16.1",
"v0.16.0",
"v0.15.3",
"v0.15.2",
"v0.15.1",
"v0.15.0",
"v0.12.4",
"v0.12.3",
"v0.12.2",
"v0.12.1",
"v0.12.0",
"v0.11.4",
"v0.11.3",
"v0.11.2",
"v0.11.1",
"v0.11.0",
"v0.10.6",
"v0.10.5",
"v0.10.4",
"v0.10.3",
"v0.10.2",
"v0.10.1",
"v0.10.0",
"v0.9.0",
"v0.8.9",
"v0.8.8",
"v0.8.7",
"v0.8.6",
"v0.8.5",
"v0.8.4",
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.6.0",
"v0.5.0",
"v0.4.0",
"v0.3.1",
"v0.3.0",
"v0.2.1",
"v0.2.0",
"v0.1.8",
"v0.1.7",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-88937.json"
}
}
],
"modified": "2026-10-28T02:30:49.659841589Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88937.json",
"https://github.com/knowns-dev/knowns/security/advisories/GHSA-68cq-4rwm-f7jr",
"https://github.com/knowns-dev/knowns/security/advisories/GHSA-xjcg-5j3r-m6f9",
"https://nvd.nist.gov/vuln/detail/CVE-2026-88937",
"https://www.vulncheck.com/advisories/knowns-through-0.33.0-path-traversal-via-template-engine",
"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"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/88xxx/CVE-2026-88937.json"
}
},
"related_cves": [
{
"value": "CVE-2026-88937",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517990,
"published_at": "2026-09-10T15:28:52.507+00:00"
}