Skip to main content

knowns CVE-2026-88937

| EUVDEUVD-2026-75580 HIGH
Path Traversal (CWE-22)
2026-09-10 VulnCheck GHSA-86p5-fgr2-j5mh
8.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious template with path traversal payload
  2. Delivery
    Distribute template via public registry or shared repository
  3. Exploit
    Victim developer invokes knowns code generation
  4. Execution
    Template engine constructs unvalidated output path
  5. Persist
    Traverse outside project root and overwrite shell profile
  6. Impact
    Persistent code execution on victim workstation at next shell login

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The victim must be running knowns version 0.33.0 or earlier and must invoke the code generation engine against an attacker-controlled template - this is the sole triggering condition (UI:A in CVSS 4.0). No authentication, special configuration, or non-default deployment mode is required on the attacker's side; the traversal path is embedded in the template file itself. Exploitation is limited by the need for developer interaction: the victim must actively fetch and run a malicious template. The impact is bounded by the filesystem permissions of the user executing knowns - root-owned files are not writable unless the tool is run as root, which is not a typical developer workflow. No specific OS or platform restriction is documented.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A - score 8.6) accurately captures the attack surface: no privileges or special configuration needed, but user interaction is required (a developer must invoke the code generator with an attacker-supplied template). The high VC:H/VI:H/VA:H scores are credible given that arbitrary file write to a developer workstation trivially achieves persistent RCE via shell profile manipulation. EPSS data is not provided in source intelligence. No CISA KEV listing and no explicit POC code, suggesting no confirmed in-the-wild mass exploitation yet. However, the developer toolchain targeting vector (supply-chain / malicious template repository attack) is realistic and has been used in analogous campaigns against npm, PyPI, and similar ecosystems. The VulnCheck report and two GitHub Security Advisories raise confidence that the issue is genuine and independently confirmed. The primary limiting factor is UI:A - mass exploitation requires victims to actively process attacker-controlled templates, reducing automated exploitation potential.

Exploit ScenarioDerived

A threat actor publishes a malicious knowns template to a public template registry or contributes it to a shared project repository. When a developer runs knowns to generate code using this template, the template engine writes a payload to ~/.bashrc (e.g., a reverse shell one-liner) due to the unvalidated traversal path embedded in the template metadata. On the developer's next shell login, the payload executes, establishing persistent access to the workstation and any credentials, tokens, or SSH keys stored there.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 10, 2026

Path traversal in the knowns code generation template engine (versions through 0.33.0) allows unauthenticated remote attackers to read and write arbitrary files outside the project root when a victim developer processes a malicious template. The flaw in template_engine.go (lines 318-344 and 625-636) permits directory-traversal sequences in template destination paths, enabling attackers to overwrite shell initialization files (e.g., ~/.bashrc, ~/.profile) for persistent code execution or exfiltrate credential files from the developer's host. No public exploit has been identified at time of analysis and this CVE is not listed in CISA KEV, but the full read/write impact on a developer workstation represents significant supply-chain risk.

RemediationAI

Upgrade knowns to a version beyond 0.33.0 - the two GitHub Security Advisories (GHSA-68cq-4rwm-f7jr, GHSA-xjcg-5j3r-m6f9 at github.com/knowns-dev/knowns) should be consulted for the confirmed fixed release version, which is not explicitly stated in available intelligence. Until a patch is applied, the primary compensating control is to process only templates sourced from fully trusted, verified repositories under your own control - avoid running knowns against third-party or community-contributed templates. Running the code generator in an isolated environment (e.g., a container with the project directory bind-mounted read-only and no access to home directories) removes the ability to overwrite shell profiles or steal credentials, at the cost of requiring a wrapper invocation workflow. Monitoring for unexpected writes outside the project directory (via inotify or auditd rules on home directory files) provides detection capability as an interim measure.

Affected VersionsENISA

knowns 0 ≤0.33.0

Affected Packages

euvd knowns no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

knowns is a Go-based code generation framework (CPE: cpe:2.3:a:knowns-dev:knowns) that processes user-supplied templates to scaffold output files. The vulnerable template engine fails to canonicalize or jail destination paths before writing generated output, a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) defect. The specific logic flaws are pinpointed in the open-source repository at internal/codegen/template_engine.go lines 318-344 (path construction) and 625-636 (write path handling). Because template input is attacker-controlled and the output path is derived from template metadata without adequate validation against the project root, an attacker embedding '../../../' sequences in template destination fields can direct writes (and reads) to any path accessible to the user running the tool.

Know when Knowns gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.6 HIGH
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
vuln.today AI 8.8 HIGH

Network-delivered via malicious template; no privileges needed; user must run generator (UI:R); all three impacts high on the developer's own system, no scope change.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-22 (path traversal).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

The knowns code generation template engine (versions ≤0.33.0) contains an unauthenticated path traversal vulnerability enabling remote attackers to read and write arbitrary files on developer workstations, creating a critical supply-chain risk. Exploitation could result in credential theft, persistent backdoor installation, or injection of malicious code into production builds, potentially compromising every development team relying on this tool.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict template inputs to pre-approved, internally-developed templates with strict version control; (2) Isolate template processing to temporary, read-only containerized environments destroyed after use; (3) Implement real-time file integrity monitoring on developer credential stores and shell configurations; (4) Enforce mandatory manual review and diff inspection of all generated files; (5) Disable the knowns template engine entirely and revert to manual code generation if the workflow is not business-critical, pending patch release.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche Go code-generation tool, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Knowns

View all
CVE-2026-86543 CRITICAL
9.3 Sep 07

Missing authentication in Knowns (knowns-dev/knowns) before 0.30.0 exposes the management API on all network interfaces

CVE-2026-88899 CRITICAL
9.3 Sep 10

External control of a filesystem path in Knowns (knowns-dev/knowns) before 0.31.0 lets remote attackers escape the proje

CVE-2026-86775 HIGH
8.8 Sep 09

Path traversal in the knowns npm documentation tool (versions ≤ 0.29.1) enables remote unauthenticated attackers to read

CVE-2026-86542 HIGH
8.8 Sep 07

Path traversal in knowns before v0.30.0 permits unauthenticated remote attackers to write files outside the designated i

CVE-2026-86439 HIGH POC
8.7 Sep 07

Path traversal in knowns (a Go-based MCP-integrated knowledge management server) before version 0.30.0 allows authentica

CVE-2026-86538 HIGH POC
8.7 Sep 07

Path traversal in the knowns template-preview API (versions before 0.30.0) allows unauthenticated remote attackers to re

CVE-2026-88939 HIGH
8.7 Sep 10

Privilege escalation in knowns through 0.33.0 permits authenticated read-only agent sessions to bypass authorization con

CVE-2026-86540 HIGH POC
8.5 Sep 07

Arbitrary binary execution in knowns before 0.30.0 is triggered when a developer opens a repository containing a crafted

CVE-2026-86541 HIGH
7.2 Sep 07

Path traversal in the knowns MCP server's handleCodeReplace() function allows unauthenticated network attackers to overw

CVE-2026-86544 HIGH
7.2 Sep 07

Authorization bypass in knowns before v0.30.0 allows low-privileged users holding read-restricted sessions to escalate p

CVE-2026-88938 HIGH
7.1 Sep 10

Path traversal in knowns through version 0.33.0 allows authenticated AI agent sessions to read arbitrary files anywhere

CVE-2026-86539 MEDIUM
6.9 Sep 07

Server-side request forgery in Knowns ≤0.33.0 enables unauthenticated remote attackers to make the server issue outbound

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy