# Duplicate Advisory: knowns vulnerable to command injection

Advisory record · `GHSA-6ph4-r249-58p2` · Withdrawn

- **Identifiers:** `GHSA-6ph4-r249-58p2`
- **State:** Withdrawn
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **Weakness (CWE):** [CWE-78](https://cwe.mitre.org/data/definitions/78.html)
- **Tags:** [Command injection](https://agentprime.io/advisories/tag/command-injection.md)
- **Published:** 8 Sept 2026
- **Updated:** 6 Oct 2026
- **Reviewed by a person:** No

**Withdrawn.** The GitHub Advisory Database withdrew this advisory on 6 Oct 2026. The record stays here, marked withdrawn.

Published by the GitHub Advisory Database at 8 Sept 2026, 00:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `knowns` (npm): affected `<0.30.0`; fixed in `0.30.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 13:34 UTC: First seen by agentprime
- 31 Oct 2026, 13:34 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-6ph4-r249-58p2)

## Sources

- [GitHub Advisory Database: GHSA-6ph4-r249-58p2](https://github.com/advisories/GHSA-6ph4-r249-58p2)
- [OSV: GHSA-6ph4-r249-58p2](https://osv.dev/vulnerability/GHSA-6ph4-r249-58p2)
- <https://github.com/knowns-dev/knowns/security/advisories/GHSA-mc52-mwq4-vfx3>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-86540>
- <https://github.com/knowns-dev/knowns/commit/d3989829fb5095666d23d005b2f78a082832a396>
- <https://github.com/knowns-dev/knowns>
- <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/releases/tag/v0.30.0>
- <https://www.vulncheck.com/advisories/knowns-before-0.30.0-arbitrary-code-execution-via-lsp-binary>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-6ph4-r249-58p2>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-6ph4-r249-58p2/>. Everything for agents: <https://agentprime.io/llms.txt>.
