CVE-2026-86540
7.8knowns-dev · knowns
Knowns versions before 0.30.0 fail to validate the settings.lsp.languages binary field, allowing attackers to execute arbitrary binaries by crafting a malicious .knowns/config.json file.
Executive summary
A critical command injection vulnerability in knowns versions prior to 0.30.0 allows unauthenticated attackers to execute arbitrary code on the host system.
Vulnerability
The application fails to perform input validation on the binary field within the LSP (Language Server Protocol) configuration settings. An attacker can supply a malicious path in the .knowns/config.json file, which triggers the execution of an arbitrary binary under the context of the user running the software.
Business impact
Successful exploitation allows an attacker to achieve arbitrary code execution on the victim's machine. This level of access could lead to full system compromise, exfiltration of sensitive project data, or the installation of persistent malicious software. Given the CVSS score of 7.8, this vulnerability represents a significant risk to organizational integrity and data confidentiality.
Remediation
Immediate Action: Upgrade to knowns version 0.30.0 or later immediately to incorporate the necessary binary validation logic.
Proactive Monitoring: Review file system changes for the creation or modification of unexpected .knowns/config.json files in untrusted or shared repositories.
Compensating Controls: Ensure that users operate with the principle of least privilege, limiting the potential impact if a malicious configuration file is executed.
Exploitation status
Public Exploit Available: No (exploit_available: false)
Analyst recommendation
Organizations utilizing the knowns development tool must prioritize the update to version 0.30.0. Because this vulnerability allows for arbitrary command execution via a project configuration file, it is imperative to audit any shared or externally sourced repositories for suspicious .knowns/config.json files before opening them in the application.
More knowns-dev CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section
Sources
Originally found and disclosed by Tong Hoang Gia, Nguyen Huy Hoang, per the CVE Program record.
- GitHub Security Advisory (GHSA-mc52-mwq4-vfx3) Vendor advisory
- Detector.resolve executes the unvalidated binary override (v0.29.1) Technical analysis
- ProjectSettings.Validate does not inspect the LSP binary field (v0.29.1) Technical analysis
- knowns fix commit d3989829fb50 Patch commit
- knowns v0.30.0 Release Notes Release notes
- VulnCheck Advisory: knowns before 0.30.0 Arbitrary Code Execution via LSP Binary Third-party advisory