[ CVE-2026-86540 · Published 7 Sep 2026 ]
knowns OS Command Injection via Insecure LSP Binary Path Config in .knowns/config.json
CVSS 7.8
EPSS <1%Fix available
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]Official description
knowns versions before 0.30.0 fail to validate the settings.lsp.languages binary field in project configuration files, allowing attackers to execute arbitrary binaries by crafting a malicious .knowns/config.json file. When a repository with a crafted configuration is opened, the unvalidated binary path is executed twice under the user's account without any verification.
[ Fixes ]Fixes and patches
- knowns 0.30.0Fixed version · GitHub Advisories · npm package knowns: upgrade to 0.30.0 or later (affected <= 0.29.1)
[ Packages ]Affected open-source packages
- knowns npmAffected <= 0.29.1 · fixed in 0.30.0 · GHSA-mc52-mwq4-vfx3
[ References ]References
- github.com/knowns-dev/knowns/security/advisories/GHSA-mc52-mwq4-vfx3vendor-advisory
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/lsp/detect.gotechnical-description
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/models/config.gotechnical-description
- github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396patch
- github.com/knowns-dev/knowns/releases/tag/v0.30.0release-notes
- www.vulncheck.com/advisories/knowns-before-0.30.0-arbitrary-code-execution-via-lsp-binarythird-party-advisory