CVE-2026-86540
knowns versions before 0.30.0 fail to validate the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/lsp/detect.go#L128-L157
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/models/config.go#L205-L216
- github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396
- github.com/knowns-dev/knowns/releases/tag/v0.30.0
- github.com/knowns-dev/knowns/security/advisories/GHSA-mc52-mwq4-vfx3
- www.vulncheck.com/advisories/knowns-before-0.30.0-arbitrary-code-execution-via-lsp-binary
- nvd.nist.gov/vuln/detail/CVE-2026-86540
- github.com/advisories/GHSA-mc52-mwq4-vfx3
- nvd.nist.gov/vuln/detail/CVE-2026-86540
- cve.org/CVERecord?id=CVE-2026-86540
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.