{"id":"CVE-2026-86540","revision":"b3a06017ef504c73ba2f624b159a893a","records":[{"revision":"b3a06017ef504c73ba2f624b159a893a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-86540","aliases":[],"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.","state":0,"publishedAt":"2026-09-07T23:03:18.654+00:00","modifiedAt":"2026-09-24T14:21:24.01+00:00","affected":[{"ecosystem":"Vendor product","name":"knowns","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"knowns-dev\",\n                    \"product\": \"knowns\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/knowns\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"0.30.0\"\n                        },\n                        {\n                            \"version\": \"0.30.0\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":8.5,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-86540","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-86540","identifiers":["CVE-2026-86540"]},"retained":false,"historicalAffected":[]}],"coverage":[]}