CVE-2026-86540
published high CVSS 4.0 · 8.5knowns before 0.30.0 Arbitrary Code Execution via LSP Binary
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| knowns-dev | — | knowns0 to < 0.30.0 (affected · semver) · 0.30.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| knowns-dev | knowns | 0 to < 0.30.0 (affected · semver)0.30.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
6- Detector.resolve executes the unvalidated binary override (v0.29.1) https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/lsp/detect.go#L128-L157
- ProjectSettings.Validate does not inspect the LSP binary field (v0.29.1) https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/models/config.go#L205-L216
- knowns fix commit d3989829fb50 https://github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396
- knowns v0.30.0 Release Notes https://github.com/knowns-dev/knowns/releases/tag/v0.30.0
- GitHub Security Advisory (GHSA-mc52-mwq4-vfx3) https://github.com/knowns-dev/knowns/security/advisories/GHSA-mc52-mwq4-vfx3
- VulnCheck Advisory: knowns before 0.30.0 Arbitrary Code Execution via LSP Binary https://www.vulncheck.com/advisories/knowns-before-0.30.0-arbitrary-code-execution-via-lsp-binary
Provider assertions
2VulnCheck · cna
knowns before 0.30.0 Arbitrary Code Execution via LSP Binary
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 03de4fe7fcaf6ace7d5ed8bd726543660d5a3d5dc0de481d9685a839bf254bdd
- Ingested
- 30 Sep 2026, 15:34:33 UTC
- Source record
- Official CVE record