What’s Vulnerable › Vulnerabilities

CVE-2026-86540: knowns before 0.30.0 Arbitrary Code Execution via LSP Binary

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.

Affected products

How to fix

Upgrade to a fixed version: knowns-dev knowns 0.30.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-86540 or the next vulnerability affects your stack