CVE-2026-86540 PUBLISHED

knowns before 0.30.0 Arbitrary Code Execution via LSP Binary

Assigner: VulnCheck
Reserved: 07.09.2026 Published: 07.09.2026 Updated: 07.09.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.5

Product Status

Vendor knowns-dev
Product knowns
Versions Default: unaffected
  • affected from 0 to 0.30.0 (excl.)
  • Version 0.30.0 is unaffected

Credits

  • Tong Hoang Gia reporter
  • Nguyen Huy Hoang reporter

References

Problem Types

  • Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE