knowns before 0.30.0 Arbitrary Code Execution via LSP Binary
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| knowns-dev | knowns | before 0.30.0 | 0.30.0 | Patch available | CNA |
| — | knowns (npm) | before 0.30.0 | 0.30.0 | Patch available | GHSA-mc52-mwq4-vfx3 |
- knowns Vendorknowns-dev Affected before 0.30.0 Fixed in 0.30.0 Patch available CNA
- knowns (npm) Vendor— Affected before 0.30.0 Fixed in 0.30.0 Patch available GHSA-mc52-mwq4-vfx3
Remediation
- Fix · CNA knowns (knowns-dev) Fixed in 0.30.0
- Fix · GHSA-mc52-mwq4-vfx3 knowns (npm) Fixed in 0.30.0 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
knowns-dev knowns 0.30.0
7 records Highest priority Priority HIGH 1 HIGH, 5 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-59220 knowns before 0.30.0 Unauthenticated Management API ExposurePriority MEDIUM 50
- TI-2026-59215 knowns before 0.30.0 Path Traversal via templateFile parameterPriority MEDIUM 46
- TI-2026-59219 knowns before 0.30.0 Path Traversal via Import NamePriority MEDIUM 45
Timeline
- 2026-10-02 Threatist record created from CVE-2026-86540
- 2026-10-03 Alias added: GHSA-6ph4-r249-58p2
- 2026-10-06 Alias added: GHSA-mc52-mwq4-vfx3
- 2026-10-06 Fix available: npm/[email protected] · GHSA-mc52-mwq4-vfx3
- 2026-10-06 CVSS score added · GHSA-mc52-mwq4-vfx3
- 2026-10-06 Weakness changed · GHSA-mc52-mwq4-vfx3
- 2026-10-06 7 new references · GHSA-mc52-mwq4-vfx3
References
Advisory 2
More knowns-dev vulnerabilities
- TI-2026-60300 knowns through 0.33.0 Authorization Bypass via project.set Bootstrap Exemption CVSS 4.0HIGH 8.7
- TI-2026-60298 knowns through 0.33.0 Path Traversal via Template Engine CVSS 4.0HIGH 8.6
- TI-2026-60301 knowns through 0.33.0 Arbitrary Directory Enumeration via workspace browse endpoint CVSS 4.0MEDIUM 6.9
- TI-2026-60299 knowns through 0.33.0 Path Traversal via code.find MCP tool CVSS 4.0HIGH 7.1
- TI-2026-60283 knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header CVSS 4.0CRITICAL 9.3
- TI-2026-59220 knowns before 0.30.0 Unauthenticated Management API Exposure CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-86540 · CVE Program
- CVE-2026-86540 · NVD
- FIRST EPSS
- GHSA-6ph4-r249-58p2 · GitHub Advisory Database · CC BY 4.0
- GHSA-mc52-mwq4-vfx3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences