Skip to main content
EPSS 0.2%top 89%

CVE-2026-86540: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in knowns-dev knowns

0
High
Published: 10/06/2026 (10/06/2026, 18:58:38 UTC)
Source: CVE Database V5
Vendor/Project: knowns-dev
Product: knowns

Description

CVE-2026-86540 is a critical arbitrary code execution vulnerability in the Knowns Language Server Protocol (LSP) detection and startup pipeline. It arises because the project-level configuration file (.knowns/config.json) allows an attacker to specify an arbitrary binary path in the 'settings.lsp.languages.<lang>.binary' field without validation. This untrusted binary is executed twice per session: once during a health check and again when the LSP server starts. When combined with a separate config overwrite vulnerability, this flaw enables unauthenticated remote code execution.

CVSS v4.0

Score 8.5high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

knowns-dev

knowns

Affected versions
>=0 <0.30.0
GitHub Actionsmore threats →ai
knowns-dev/knowns
pkg:github/knowns-dev/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:02 UTC

Technical Analysis

The vulnerability exists due to missing validation of the 'binary' field in the LSP language settings within the project configuration file. The 'ProjectSettings.Validate()' function does not validate or restrict this field, allowing absolute paths and arbitrary executables. The LSP detection code blindly executes the specified binary during a version check and again when spawning the LSP server process. This leads to arbitrary code execution when a malicious repository containing a crafted '.knowns/config.json' is opened. The attack can be chained with a config overwrite vulnerability to achieve unauthenticated remote code execution.

Potential Impact

An attacker who can plant or overwrite the '.knowns/config.json' file in a repository can cause the victim's Knowns client to execute arbitrary code on their system twice per session. This can lead to full remote code execution without authentication when combined with the config overwrite vulnerability. The impact is critical as it allows execution of attacker-controlled binaries with the privileges of the user running the Knowns client.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid opening untrusted repositories with Knowns clients and monitor for updates from the vendor. Do not rely on the current configuration validation as it does not prevent this attack.

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

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-09-07T22:18:47.705Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9f43bfacd9273b497857d8

Added to database: 09/07/2026, 23:07:43 UTC

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

Last updated: 10/22/2026, 13:15:24 UTC

Views: 84

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