knowns before 0.30.0 Path Traversal via templateFile parameter
43Vexday Risk Score
Prioritize patching. It exploitation observed by VulnCheck.
ssvc Actcvss 8.7epss 0.7%
from disclosure to weapon
Published on NVDSep 7
VulnCheck+10d
exploitation probability
0.7%top 47% of all CVEs
observed exploitation
yesVulnCheck
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.
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
Affected products
knowns-dev · knownsReferences
https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/server/routes/templates.go#L299-L310https://github.com/knowns-dev/knowns/commit/09c5a96fd5817b941dc86669278c1a17db10ed4ehttps://github.com/knowns-dev/knowns/releases/tag/v0.30.0https://github.com/knowns-dev/knowns/security/advisories/GHSA-fpxv-c555-rhm3https://www.vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-templatefile-parameter