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

Published Sep 7, 2026
·
Updated

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 Software

1 affected component
knowns<0.30.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade knowns to a version that resolves this vulnerability.

    Fixed in 0.30.0
  2. Configuration

    Ensure the settings.lsp.languages binary field in the project configuration files points to a legitimate, expected binary (avoid untrusted/crafted paths in .knowns/config.json).

    knowns (project configuration files) settings.lsp.languages binary field = valid binary path only

Event History

Sep 7, 2026
CVE Published
via MITRE·11:03 PM
Data Sourced
via MITRE·11:03 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users running knowns versions earlier than 0.30.0 are exposed when they open a repository containing a crafted .knowns/config.json file. The malicious binary executes under the account of the user opening the repository.

2

What does an attacker need to exploit it?

An attacker needs to provide or modify a repository so that its .knowns/config.json sets the settings.lsp.languages binary field to an attacker-controlled binary path. User interaction is required because the victim must open that repository.

3

Are affected users protected by normal project-configuration handling?

No. In affected versions, the LSP binary field is not validated or verified before execution, and the configured binary path is executed twice when the repository is opened.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203