{"id":"CVE-2026-86540","state":"PUBLISHED","title":"knowns before 0.30.0 Arbitrary Code Execution via LSP Binary","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.","publishedAt":"2026-09-07T23:03:18.654Z","updatedAt":"2026-09-24T14:21:24.010Z","severity":{"score":8.5,"label":"High","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["knowns-dev knowns"],"affected":[{"vendor":"knowns-dev","product":"knowns","packageURL":"pkg:npm/knowns","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.30.0","versionType":"semver"},{"version":"0.30.0","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/knowns-dev/knowns/security/advisories/GHSA-mc52-mwq4-vfx3","https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/lsp/detect.go#L128-L157","https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/models/config.go#L205-L216","https://github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396","https://github.com/knowns-dev/knowns/releases/tag/v0.30.0","https://www.vulncheck.com/advisories/knowns-before-0.30.0-arbitrary-code-execution-via-lsp-binary"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/86xxx/CVE-2026-86540.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-86540","state":"PUBLISHED","datePublished":"2026-09-07T23:03:18.654Z","dateUpdated":"2026-09-24T14:21:24.010Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-07T22:18:47.705Z"},"containers":{"cna":{"title":"knowns before 0.30.0 Arbitrary Code Execution via LSP Binary","descriptions":[{"lang":"en","value":"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":[{"vendor":"knowns-dev","product":"knowns","packageURL":"pkg:npm/knowns","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.30.0","versionType":"semver"},{"version":"0.30.0","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/knowns-dev/knowns/security/advisories/GHSA-mc52-mwq4-vfx3","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-mc52-mwq4-vfx3)"},{"url":"https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/lsp/detect.go#L128-L157","tags":["technical-description"],"name":"Detector.resolve executes the unvalidated binary override (v0.29.1)"},{"url":"https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/models/config.go#L205-L216","tags":["technical-description"],"name":"ProjectSettings.Validate does not inspect the LSP binary field (v0.29.1)"},{"url":"https://github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396","tags":["patch"],"name":"knowns fix commit d3989829fb50"},{"url":"https://github.com/knowns-dev/knowns/releases/tag/v0.30.0","tags":["release-notes"],"name":"knowns v0.30.0 Release Notes"},{"url":"https://www.vulncheck.com/advisories/knowns-before-0.30.0-arbitrary-code-execution-via-lsp-binary","name":"VulnCheck Advisory: knowns before 0.30.0 Arbitrary Code Execution via LSP Binary","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-24T14:21:24.010Z"},"datePublic":"2026-08-16T00:00:00.000Z","credits":[{"lang":"en","value":"Tong Hoang Gia (uziii2208)","type":"finder"},{"lang":"en","value":"Nguyen Huy Hoang (hoanggxyuuki)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-08T13:48:43.528505Z","id":"CVE-2026-86540","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-08T13:48:56.891Z"}}]}}}