Skip to main content

Duplicate Advisory: knowns vulnerable to command injection

0
High
Published: 09/08/2026 (09/08/2026, 00:30:22 UTC)
Source: GCVE Database
Product: knowns

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.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

npmghsa
knowns
Affected versions
<0.30.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/06/2026, 21:43:07 UTC

Technical Analysis

knowns versions prior to 0.30.0 do not properly validate the settings.lsp.languages binary field in project configuration files, enabling attackers to execute arbitrary binaries by crafting a malicious .knowns/config.json file. When a user opens a repository containing this malicious configuration, the unvalidated binary path is executed twice under the user's account without verification. This vulnerability is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The CVSS 3.1 score is 7.8, indicating high severity, with attack vector local, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability. A patch is available in version 0.30.0.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary binaries on the victim's system with the privileges of the user opening the repository. This can lead to full compromise of the user's environment, including confidentiality, integrity, and availability impacts. The attack requires the user to open a repository containing the malicious configuration file, and no privileges are required prior to exploitation.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-6ph4-r249-58p2
Osv Schema Version
1.4.0
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6ac56b242cdf04f656e1c588

Added to database: 10/06/2026, 21:41:56 UTC

Last enriched: 10/06/2026, 21:43:07 UTC

Last updated: 10/06/2026, 21:43:07 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses