SecurityContext

CVE-2026-86540: Knowns - Command Injection

  • Cve: CVE-2026-86540
  • Name: Knowns - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary binaries twice under the user's account, leading to full user-level compromise.
  • Remediation: Update to version 0.30.0 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker must have a crafted .knowns/config.json and user must open the repository
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00212
  • Epss percentile: 0.1136
  • Assignee: [email protected]
  • Published at: 2026-09-07T23:16:53Z
  • Age in days: 78
  • Modified at: 2026-09-08T19:56:50Z
  • References total: 6
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-86540
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/lsp/detect.go#L128-L157
https://github.com/knowns-dev/knowns/blob/v0.29.1/internal/models/config.go#L205-L216
https://github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396
https://github.com/knowns-dev/knowns/releases/tag/v0.30.0
https://github.com/knowns-dev/knowns/security/advisories/GHSA-mc52-mwq4-vfx3
https://www.vulncheck.com/advisories/knowns-before-0.30.0-arbitrary-code-execution-via-lsp-binary

Projects

RepositoryLink kindsIndexedUrl
knowns-dev/knownscommit, fix, package, releases, security_advisoryyes/v1/repositories/knowns-dev/knowns

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts