High severity7.8NVD Advisory· Published Sep 7, 2026· Updated Sep 8, 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
knownsnpm | < 0.30.0 | 0.30.0 |
Affected products
1- Range: <0.30.0
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-mc52-mwq4-vfx3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-86540ghsaADVISORY
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/lsp/detect.gonvdWEB
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/models/config.gonvdWEB
- github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396nvdWEB
- github.com/knowns-dev/knowns/releases/tag/v0.30.0nvdWEB
- github.com/knowns-dev/knowns/security/advisories/GHSA-mc52-mwq4-vfx3nvdWEB
- www.vulncheck.com/advisories/knowns-before-0.30.0-arbitrary-code-execution-via-lsp-binarynvdWEB
News mentions
0No linked articles in our index yet.