ZeroHour

CVE-2026-86538

Unauthenticated Arbitrary File Read via Path Traversal in knowns

CVSS 4.0
8.7 high
EPSS
<1%p52
Published
()
Modified
AI analysis

knowns versions prior to 0.30.0 contain a path traversal flaw (CWE-22) in the POST /api/templates/preview API endpoint. An unauthenticated remote attacker can send directory traversal sequences in the templateFile parameter, bypassing the endpoint's path restrictions. Because the file contents are returned in the JSON response, the attacker can read arbitrary files on the server, such as credentials and configuration files. Any deployment running a knowns version before 0.30.0 with the API reachable by untrusted clients is affected. There is no known public proof-of-concept, the flaw is not in CISA's KEV catalog, and EPSS estimates only a 0.7% probability of exploitation within 30 days, so exploitation is not currently observed.

What to do: Upgrade knowns to version 0.30.0 or later, which resolves the path traversal in /api/templates/preview. Until upgraded, restrict network access to the API (e.g., via firewall or reverse-proxy allowlists) and review server logs for requests containing traversal sequences such as ../ in the templateFile parameter to detect attempted or successful file reads.

Affected
knowns (project) knownsall versions before 0.30.0
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

knowns versions before 0.30.0 contain a path traversal vulnerability in the POST /api/templates/preview endpoint that allows unauthenticated attackers to read arbitrary files. Attackers can supply directory traversal sequences in the templateFile parameter to bypass path restrictions and read sensitive files like credentials and configuration through the JSON response.

Weakness
CWE-22
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.