CVE-2026-86538: Unauthenticated Path Traversal in knowns Template Preview
CVE-2026-86538 is a path traversal vulnerability in knowns versions before 0.30.0. The unauthenticated template preview API accepts attacker-controlled templateFile input, combines it with the template directory using filepath.Join(), and reads the resulting path using os.ReadFile() without adequately enforcing directory confinement. Directory-traversal sequences allow attackers to escape the intended template directory and obtain arbitrary file contents through the JSON response.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Remote unauthenticated attackers can disclose files readable by the knowns server process, including credentials and configuration files. The vulnerability directly affects confidentiality; no direct integrity or availability impact is established.
Mitigation
If you can’t patch tonight, do this now.
Until an upgrade is possible, disable the template preview endpoint or restrict access using authentication and network access controls. Reject directory-traversal input and enforce server-side path resolution that confines templateFile values to the intended template directory, using a safeguard such as safepath.Resolve.
Remediation
Patch, then assume compromise.
Upgrade knowns to version 0.30.0 or later, which addresses the vulnerability.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-86538 exploited in the wild?
- Yes. As of Nov 14, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-86538?
- As of Nov 14, 2026, Mallory has found no public exploit for CVE-2026-86538.
- Is there a patch for CVE-2026-86538?
- Upgrade knowns to version 0.30.0 or later, which addresses the vulnerability.
- How severe is CVE-2026-86538?
- CVE-2026-86538 has a CVSS v4 score of 8.7 (High) and an EPSS score of 2.8% (87th percentile) as of Nov 14, 2026.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.