Low

Unauthorized npm publish of cline@2.3.0 with modified postinstall script

  • Disclosed: 19.02.2026
  • Updated: 11.10.2026 10:22

Description

On February 17, 2026 at 3:26 AM PT, an unauthorized party used a compromised npm publish token to publish an update to Cline CLI on the NPM registry: cline@2.3.0. The published package contains a modified package.json with an added postinstall script: "postinstall": "npm install -g openclaw@latest" This causes openclaw (an unrelated, non-malicious open source package) to be globally installed when cline@2.3.0 is installed. No other files were modified -- the CLI binary (dist/cli.mjs) and all other package contents are identical to the legitimate cline@2.2.3 release. A corrected version (2.4.0) was published at 11:23 AM PT and 2.3.0 was deprecated at 11:30 AM PT. The compromised token has been revoked and npm publishing now uses OIDC provenance via GitHub Actions.

Impact

Users who installed Cline CLI cline@2.3.0 during the approximately 8-hour window between 3:26 AM PT and 11:30 AM PT on February 17 will have openclaw globally installed. The openclaw package is a legitimate open source project and is not malicious, but its installation was not authorized or intended.

The Cline VS Code extension and JetBrains plugin were not affected. This advisory applies only to the Cline CLI package published on npm.

Patches

Versions 2.4.0 and higher are fixed

Workarounds

If you installed Cline CLI cline@2.3.0:

  1. Update to the latest version of the Cline CLI cline update or npm installl -g cline@latest
  2. Verify that you have a fixed version (2.4.0 or higher) cline --version
  3. Review your environment for any unexpected installation of OpenClaw and remove it if not intended npm uninstall -g openclaw

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package cline >= 2.3.0, < 2.4.0 2.4.0

References

CVSS score -
Weakness (CWE)
CWE-506
Platform
npm
Package
cline
Disclosed
19.02.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-9ppg-jx86-fqw7 - CC BY 4.0

Vulnerability history: cline

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
02.2026 09.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 1
  • Low 1

Disclosures per year

  1. 2026: 3
  1. Critical · 9.6 CVE-2026-44211 <= 2.13.0 no fix
  2. Unauthorized npm publish of cline@2.3.0 with modified postinstall script this entry
    Low ghsa-9ppg-jx86-fqw7 >= 2.3.0, < 2.4.0 2.4.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.