Cline security incidents: what the npm compromise and advisories mean for approval
Cline has published one npm supply chain incident and two WebSocket hijacking advisories for its CLI components, so a security reviewer should treat the incident as the first item on the approval checklist. According to Cline's own post-mortem on the unauthorized Cline CLI npm publish, the unauthorized publish affected the npm CLI package only. The post-mortem says the VS Code and JetBrains extensions, the source repository and user data were not affected, and that the CLI binary in the bad release was byte-identical to the previous one. Edition matters here too: the open source version is free for individual developers with no seat fees, while the Enterprise plan is custom priced, so the approval decision applies to whichever edition the organization licenses, and the incident affects any install that pulled the affected npm package.
Before approval, confirm which Cline surface staff will install and at what versions. Ask the vendor or check the npm registry for the package history, and confirm that any machine that installed cline@2.3.0 was reviewed for the globally installed openclaw package that its postinstall script added. Confirm that the post-mortem's remediation was made in the release process you will rely on: AI triage workflows removed, cache use removed from credential-handling workflows, and npm publishing moved to OIDC provenance with no long-lived npm tokens. Ask for evidence of these changes rather than accepting the post-mortem summary alone. Also confirm the minimum CLI version your policy will allow for the Kanban server (fixed in 2.13.0 according to GHSA-5c57-rqjx-35g2) and for the dashboard /browser endpoint (affected through 3.0.24 according to GHSA-3cj3-hqcr-g934).
The two advisories are a different risk from the npm incident. Both describe a malicious website reaching a local Cline service over WebSocket, so the exposure depends on whether developers run the Kanban server or the dashboard on machines that also browse the open web. Your security team should decide whether those components are permitted, whether they run on managed endpoints only, and whether developers must stop them when not in use. Track the cline/cline security advisories for new entries, because the published record is the authoritative source for affected ranges and fixes, and the advisory pages themselves must be read before sign-off.
How a GitHub issue reached the npm publishing secrets
The sequence below follows Cline's post-mortem: a prompt injection in a GitHub issue reached an AI issue-triage workflow with Bash access, that workflow wrote to a shared cache, and the nightly release workflow read the publishing secrets from that cache. An unauthorized party then used a still-active npm token to publish cline@2.3.0. The red labels mark the controls that would have stopped each step, and the bold steps are the ones the post-mortem names as the point of exposure. Treat this as the sequence the vendor describes, not an independently verified timeline.
Sequence described in Cline's post-mortem, with the controls that would have broken each hop noted in the description.
Which controls would have limited the token exposure
The Cline post-mortem describes a chain: untrusted issue text reached an AI triage workflow with Bash access, a shared cache carried poisoned content into the release workflow, and a long-lived publish token was exposed. Each link in that chain has a separate control, and each one has a different owner, so the cards below separate Cline project practices from controls your organization applies and questions to put to the vendor.
Least-privilege tools for triage agents
The triage workflow had Bash access while reading text written by outside users. Limiting an automated agent to the specific tools its job requires, with no general shell, would have reduced what an injected instruction could do. This is a Cline project practice: the post-mortem says Cline removed the AI triage workflows. For your own rollout, ask whether any agent in your pipeline can execute shell commands on text from untrusted sources, and who approves that access.
Read the post-mortemNo shared caches across trust boundaries
The post-mortem says a shared cache was poisoned and then reached the nightly release workflow's publishing secrets. Build caches that are readable by low-trust jobs can carry attacker-controlled content into jobs that hold credentials. Cline says it removed cache use from credential-handling workflows. Check that your own CI separates untrusted jobs from release jobs and does not restore caches written by pull request or issue-triggered runs into jobs that sign or publish.
No long-lived publish tokens
A still-active npm token let an unauthorized party publish cline@2.3.0. A token that never expires remains usable long after the workflow that created it is gone. Cline says it moved npm publishing to OIDC provenance through GitHub Actions with no long-lived npm tokens. Ask any vendor or open-source project you depend on whether its releases use short-lived credentials, and inventory the long-lived tokens your own teams hold for package registries.
Provenance-based publishing
Provenance ties a published package to the workflow and source commit that built it, so a release pushed from outside that pipeline is easier to spot. The post-mortem notes the 2.3.0 CLI binary was byte-identical to the previous release, which shows why provenance and build identity matter more than file contents alone. Before you install a CLI version, check whether its registry entry carries provenance from the expected repository and workflow.
Pinning and reviewing install-time scripts
The 2.3.0 release used a postinstall script to install openclaw globally, so installing the package ran code beyond the CLI itself. Organization-side controls include pinning approved versions, reviewing install scripts before adoption, and blocking install-time script execution where your package manager supports it. Confirm with your platform team which versions are approved for developer machines and how updates are staged.
What Cline changed after the incident and what remains unverified
Cline's post-mortem lists three changes. The AI issue-triage workflows were removed, which closes the path that let a prompt injection in a GitHub issue reach a Bash-capable agent. Cache use was removed from the workflows that handle credentials, which addresses the shared cache that the post-mortem says was poisoned to reach the nightly release workflow's publishing secrets. npm publishing was moved to OIDC provenance through GitHub Actions, with no long-lived npm tokens. Each change is a statement by the vendor. Treat it as a claim to verify, not as a finished control, and ask Cline to confirm in writing that no other workflow still uses a long-lived npm token or shared cache for release credentials.
Check the package record yourself before you rely on it. Open the npm package page for cline and review the version history, paying attention to the unauthorized cline@2.3.0 publish and the 2.4.0 release that followed it. Confirm that each version you deploy carries a provenance attestation tied to the expected GitHub Actions workflow and source commit, and that the attestation is absent from or flags the 2.3.0 build. Compare the binary you intend to install against the published source and the prior release, since the post-mortem reports the 2.3.0 CLI binary was byte-identical to the previous release, which is a claim you can test with your own hashes. Record the versions you approve and pin them in your software inventory.
Keep the unverified items on the open list. The post-mortem is the only source for the scope of the incident, and nothing in the supplied material shows independent forensic review, the full list of affected users, or whether the npm token was used for anything beyond the 2.3.0 publish. Ask Cline for the timeline of token revocation, the audit of other publishes made with that token, and any follow-up review by a third party. Until those answers are in writing, keep the CLI on an approved version list with a named owner who re-checks npm provenance and the cline/cline security advisories page each time the package updates.
The WebSocket hijacking advisories for Cline CLI components
Cline has published two GitHub advisories for WebSocket hijacking in components of the Cline CLI family. Both let a web page that a developer visits reach a server running on the developer's own machine, so the browser becomes the entry point. The cards below cover each advisory and the checks a reviewer should run on Cline versions in use.
Kanban server command injection
GHSA-5c57-rqjx-35g2, tracked as CVE-2026-44211, is rated critical at CVSS 9.6. Any website a developer visits could open a WebSocket connection to the Cline Kanban server in versions before 2.13.0, and use it to inject commands into an active agent task. The risk depends on whether the developer runs Kanban and whether an agent task is active at the time. Confirm which Cline CLI builds are installed on developer machines and that each is 2.13.0 or later.
Read the advisoryDashboard session takeover
GHSA-3cj3-hqcr-g934, tracked as CVE-2026-59723, is rated high at CVSS 8.8. A malicious website could hijack the /browser endpoint of the Cline dashboard in npm cline 3.0.24 and earlier. From there it could read session state, add MCP servers and control agent sessions. Adding an MCP server is a path to new tools the agent can call, so treat this advisory as more than a read-only exposure. Check the installed cline version on each workstation and remove or upgrade builds that match.
Why a website can reach a local server
Both advisories rely on the same pattern. A local service listens on a loopback address, and a browser tab opened to an unrelated site still tries to open a WebSocket connection to it. The local server must check where the request came from and must validate the connection. Ask Cline which of its local listeners verify the origin of incoming WebSocket connections in the versions you approve. This question applies to any local agent tool that runs a dashboard or server.
Which developers run the affected components
The advisories affect only the components named in them, so the first step is inventory. Ask engineering leads whether developers use Cline Kanban, the Cline dashboard, or the cline CLI on laptops or shared development hosts. Shared hosts widen exposure because more than one user may have active agent sessions. Record the component, version and host for each finding before deciding whether to block, upgrade or monitor.
Browser and local tool hygiene
Until every affected build is upgraded, reduce the chance that a developer's browser reaches a local agent service. Have developers avoid running untrusted sites in the same browser profile used for agent work, and keep agent dashboards closed when no task needs them. These are interim controls, not fixes. Document them as exceptions with an owner and an end date, and confirm that the upgraded version is in place before closing the exception.
How the exposure differs by how staff run Cline
Developers who use only the VS Code or JetBrains extension are outside the scope of the npm publish incident. Cline's post-mortem says the VS Code and JetBrains extensions, the source repository and user data were not affected. The advisories that cover the Kanban server and the dashboard /browser endpoint are tied to other Cline components, so an extension-only user should confirm that no Kanban or dashboard process is running on the same machine.
- Incident scope: Cline's post-mortem says the unauthorized
cline@2.3.0publish did not affect the VS Code and JetBrains extensions. - Extension version: Confirm the installed extension version against the current release notes and the Cline security advisories page, since the advisory list is the place where affected ranges are stated.
- Auto-approve settings: Review which categories are auto-approved, because approved actions run without a prompt regardless of advisory status.
- Stray CLI installs: Check whether anyone installed the CLI globally, since an extension user can still have an npm-installed CLI on the same machine.
- Local MCP servers: Inspect configured MCP servers in the extension settings for entries nobody approved.
Check that no unexpected global npm packages or Cline-related processes exist on the machine, and record the extension version for the asset inventory.
Developers who installed the Cline CLI from npm carry the most direct exposure to the February 2026 incident. Cline's post-mortem says an unauthorized party used a still-active npm token to publish cline@2.3.0 on February 17, 2026 at 3:26 AM PT, with a postinstall script that installed openclaw globally. Version 2.4.0 followed at 11:23 AM PT. The post-mortem also says the CLI binary in 2.3.0 was byte-identical to the previous release, so reviewers should not assume the malicious script was the only change without checking the package contents themselves.
- Affected version: Check whether any machine installed
cline@2.3.0, and whether it ran the postinstall script during install. - Global openclaw install: Search for a globally installed openclaw package, since the postinstall script installed it.
- Follow-on version: Confirm whether machines moved to 2.4.0 or later, and confirm the version against the post-mortem before relying on it.
- CLI advisories: Compare the installed CLI version with the affected range in GHSA-3cj3-hqcr-g934 (dashboard
/browserendpoint, versions 3.0.24 and earlier), since CLI packages carry different version numbering. - Install history: Review npm install logs or lockfiles from the February 17, 2026 window where available.
If a machine ran cline@2.3.0, treat the host as needing review, starting with the global package list and any credentials available to that user session.
Teams running the Cline Kanban server or the Cline dashboard face the WebSocket hijacking advisories, which are separate from the npm publish incident. GHSA-5c57-rqjx-35g2 (CVE-2026-44211), rated critical at CVSS 9.6, says any website a developer visits could connect to the Cline Kanban server via WebSocket in versions before 2.13.0, enabling command injection into an active agent task. GHSA-3cj3-hqcr-g934 (CVE-2026-59723), rated high at CVSS 8.8, says a malicious website could hijack the dashboard /browser endpoint in npm cline 3.0.24 and earlier to read session state, add MCP servers and control agent sessions.
- Kanban version: Confirm the Kanban server version is 2.13.0 or later against the text of GHSA-5c57-rqjx-35g2.
- Dashboard version: Confirm the dashboard package is later than 3.0.24 against GHSA-3cj3-hqcr-g934, and confirm the fixed version in the advisory text.
- Running services: Identify which developer machines run these servers and whether they listen on a local port that a browser can reach.
- Browser exposure: Ask whether developers browse untrusted sites while a Kanban or dashboard session is active.
- Active sessions: Check for MCP servers added to the dashboard that nobody approved.
Upgrade or stop the affected servers, then review active agent sessions and MCP configuration on each machine that ran them.
Incident and advisory scope by Cline component
This table compares each Cline component against the February 2026 npm publish and the two WebSocket advisories. Read the first two columns as scope evidence, and check each advisory's version range before treating a component as clear. The main takeaway is that Cline's post-mortem places the IDE extensions outside the publish, while the CLI package and both local servers need version checks in your own environment.
| Component | Affected by the 2.3.0 publish | Affected by the advisories | Source to confirm |
|---|---|---|---|
| VS Code extension | Not affected, according to the post-mortem | Not named in either advisory | Post-mortem; confirm the advisory list on Cline's security page |
| JetBrains extension | Not affected, according to the post-mortem | Not named in either advisory | Post-mortem; confirm the advisory list on Cline's security page |
| Cline CLI npm package (cline) | Yes: cline@2.3.0 was published by an unauthorized party on February 17, 2026 | Dashboard advisory covers npm cline 3.0.24 and earlier | Post-mortem and GHSA-3cj3-hqcr-g934; check your installed versions |
| Kanban server | Not stated as affected in the post-mortem; confirm | Versions before 2.13.0, rated critical (CVE-2026-44211) | GHSA-5c57-rqjx-35g2; confirm which package ships this server |
| Dashboard (/browser endpoint) | Not stated as affected in the post-mortem; confirm | npm cline 3.0.24 and earlier, rated high (CVE-2026-59723) | GHSA-3cj3-hqcr-g934; confirm which package and version ship this dashboard |
Questions reviewers ask before approving Cline after these advisories
Does the free open source plan change our exposure to these advisories?
No. The plan a developer uses does not change which code runs on the machine, so exposure depends on the component and version installed. Cline's Open Source plan is free for individual developers and covers the VS Code extension, the CLI and the MCP Marketplace. The pricing page says it has no subscriptions or seat fees, and users pay for AI inference at cost or bring their own API keys. The advisories concern the CLI, the Kanban server and the dashboard, so reviewers should ask which of those components are installed, at which version, and on which machines. Free installs are updated by each individual unless your company runs its own inventory and update process, so plan for that gap. Confirm with Cline whether security notices reach free users directly.
What does Cline Enterprise add for these risks?
The supplied documentation supports one control directly: remote configuration. Cline products read the organization's remote configuration when a member signs in, and settings the organization controls show a lock icon in VS Code and JetBrains. This helps standardize settings across a fleet. The documentation does not say that Enterprise patches or removes the advisories, and the cited issues sit in the CLI, Kanban and dashboard components. Ask Cline which controls apply to each client, including the CLI, and whether remote configuration can enforce the settings you need. Enterprise pricing is custom, so the cost depends on a written quote. Remote configuration overview
Do we need to pin a version or upgrade, and how do we confirm?
Yes. Check every installed component against its advisory. The Kanban server advisory, GHSA-5c57-rqjx-35g2, covers versions before 2.13.0, so anything older needs upgrading to 2.13.0 or later. The dashboard advisory, GHSA-3cj3-hqcr-g934, covers npm cline 3.0.24 and earlier, so confirm the fixed release in that advisory before setting a pin. For the npm incident, the unauthorized cline@2.3.0 was followed by 2.4.0, and the post-mortem says the 2.3.0 CLI binary was byte-identical to the previous release. Even so, do not pin to 2.3.0. Confirm each machine's installed version with your package manager, such as npm ls -g cline, and record the result. Pair any pin with regular review of the advisories page, because new advisories can appear.
How much internal review effort should we expect, and what drives it?
No duration figure is supplied for this work, so get any estimate in writing. Effort follows scope: how many developers and machines run Cline, which surfaces they use (the VS Code or JetBrains extensions, the CLI, the Kanban server or the dashboard), and how many MCP servers and auto-approve settings are in use. Reviewers will also want to know whether any CLI installs occurred during the window around February 17, 2026, and whether your own CI workflows reuse caches or secrets in ways similar to the post-mortem's account. Costs have two parts: internal staff time, which recurs with each upgrade cycle, and any outside review, which is usually one-time if scoped that way. Ask for a fixed-scope quote listing systems, deliverables and timelines before work starts.
Can our own team verify the fixes without outside help?
Often yes for the basic checks, though depth depends on skills. Your team can read Cline's post-mortem and the GitHub advisories, confirm installed versions, and check that the npm releases you rely on are published through GitHub Actions with OIDC provenance, which Cline describes as its new publishing process, and that no long-lived npm tokens remain. Harder questions need experience with CI/CD secrets, npm supply chain risk and browser-origin attacks against local servers. Reviewers should ask whether a WebSocket endpoint checks origin, whether a local dashboard exposes session state, and whether your own workflows share caches across trust boundaries. DeployOpen can run security testing and prepare evidence, but it does not issue audit reports or certifications, so independent assurance remains a separate step for your auditors.
Does this incident mean our code or user data was exposed?
Cline's post-mortem says it did not. It states that the VS Code and JetBrains extensions, the source repository and user data were not affected, and that the CLI binary in cline@2.3.0 was byte-identical to the previous release. The account says an unauthorized party used a still-active npm token, which was exposed after a prompt injection in a GitHub issue reached an AI triage workflow with Bash access. Treat this as the vendor's account, not an independent finding. Ask Cline for written confirmation of scope, whether any other credentials were reachable through the same workflow, and what evidence supports the byte-identical finding. Record the answer, with the date received, in your vendor risk file. Post-mortem
How DeployOpen helps you test Cline before rollout
DeployOpen approaches the Cline incidents as a test case for how a coding agent behaves when its supply chain, CI workflows and local web interfaces are attacked. We scope a written test of your Cline setup against the published post-mortem and advisories, then document what your environment does with each finding.
How we scope
- Engagements are fixed-scope, with scope and deliverables agreed in writing before work starts.
- Scope names which Cline clients, CLI versions and npm installs your staff use, including any CLI releases before 2.13.0 or dashboards on 3.0.24 and earlier.
- Scope also records which CI workflows, npm tokens and shared caches your own repositories expose to any AI triage or agent job.
How we build
- We build a test plan that checks whether a malicious website can reach local Cline Kanban or dashboard endpoints in your browsers.
- We review your CI and release pipelines for long-lived npm tokens, shared caches and AI workflows that hold publishing secrets.
- We test whether unexpected package versions, such as a postinstall script, would be caught by your dependency and install controls.
How we hand over
- You receive a written report listing each test, the observed result and the evidence collected in your environment.
- Findings are mapped to the advisory identifiers and to the controls your team owns, so remediation owners are clear.
- We document the configuration decisions you need to approve, such as browser policy, install sources and token handling.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
- A retainer can repeat the tests when Cline publishes a new advisory or a new CLI version reaches your teams.
- Quotes follow from the written scope. Confirm with the vendor and your own change records any version you plan to approve.

