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.
References6
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/lsp/detect.g…
- github.com/knowns-dev/knowns/blob/v0.29.1/internal/models/confi…
- github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f…
- github.com/knowns-dev/knowns/releases/tag/v0.30.0
- github.com/knowns-dev/knowns/security/advisories/GHSA-mc52-mwq4…
- www.vulncheck.com/advisories/knowns-before-0.30.0-arbitrary-cod…
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 4.0
-
8.5
HIGH
Score source: CNA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 12 · as of 3 November 2026
- CWE
- CWE-78
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.