漏洞描述
Knowns versions through 0.29.1 allow unauthenticated file reads through the template preview endpoint when no server password is configured. The templateFile parameter is joined to a template directory without a path containment check, allowing traversal outside that directory; version 0.30.0 rejects such paths.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/knowns-dev/knowns/security/advisories/GHSA-fpxv-c555-rhm3↗github.comhttps://github.com/knowns-dev/knowns/commit/09c5a96fd5817b941dc86669278c1a17db10ed4e↗github.comhttps://github.com/knowns-dev/knowns/releases/tag/v0.30.0↗www.vulncheck.comhttps://www.vulncheck.com/advisories/knowns-before-0.30.0-path-traversal-via-templatefile-parameter↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-86538↗