High severity7.8NVD Advisory· Published Sep 7, 2026
CVE-2026-86540
CVE-2026-86540
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
1- Range: <0.30.0
Patches
Vulnerability mechanics
References
6- github.com/knowns-dev/knowns/blob/v0.29.1/internal/lsp/detect.gonvd
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/models/config.gonvd
- github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396nvd
- github.com/knowns-dev/knowns/releases/tag/v0.30.0nvd
- github.com/knowns-dev/knowns/security/advisories/GHSA-mc52-mwq4-vfx3nvd
- www.vulncheck.com/advisories/knowns-before-0.30.0-arbitrary-code-execution-via-lsp-binarynvd
News mentions
0No linked articles in our index yet.