Skip to main content
VulnerabilityPublished Updated

Duplicate Advisory: knowns vulnerable to command injection

Affects knownsSource GCVE Database

0

CVSS 7.8 High : upgrade to 0.30.0 soon.

Data as of 6 Oct 2026, 21:43 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.30.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What to do

Upgrade knowns to 0.30.0.

Affected software

ProductAffectedFixed in
npmknownsAffected
  • <0.30.0
Fixed in
  • 0.30.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in knowns version 0.30.0 that properly validates the settings.lsp.languages binary field to prevent command injection. Users and administrators should upgrade to version 0.30.0 or later to remediate this vulnerability. No additional mitigations are specified or required beyond applying the official fix.

Description

A command injection vulnerability exists in knowns versions before 0.30.0 due to improper validation of the settings.lsp.languages binary field in project configuration files. This allows attackers to execute arbitrary binaries by crafting a malicious .knowns/config.json file. The malicious binary path is executed twice under the user's account when a repository with the crafted configuration is opened. The vulnerability has a high severity with a CVSS score of 7.8 and has been patched in version 0.30.0.

References

Community reviews

Loading reviews…