GHSA-3hfp-gqgh-xc5g: @lightdash/cli Axios Supply Chain Attack - Vulnerability
CRITICALGHSA-3hfp-gqgh-xc5g is a CRITICAL (CVSS 9.6) axios supply chain attack - vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting @lightdash/cli libraries in the npm ecosystem. The issue involves axios supply chain attack - dependency in @lightdash/cli may resolve to compromised axios versions. Remediation is available by upgrading affected packages to version 0.2695.1.
GHSA-3hfp-gqgh-xc5g at a Glance
Security Impact
CVSS: 9.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).
How to Fix GHSA-3hfp-gqgh-xc5g
To remediate this vulnerability, upgrade all affected @lightdash/cli dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @lightdash/cli@0.2695.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @lightdash/cli
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-3hfp-gqgh-xc5g, inspect your project dependencies using npm:
npm ls @lightdash/cli
Analyze the terminal output to locate any version of @lightdash/cli in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2695.1), your application is affected.
Note: The npm ls @lightdash/cli command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In @lightdash/cli, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-3hfp-gqgh-xc5g Affected @lightdash/cli Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@lightdash/cli
|
npm |
≥ 0.1800.0
< 0.2695.1
|
0.2695.1
|
References
Frequently Asked Questions
What is GHSA-3hfp-gqgh-xc5g?
Which @lightdash/cli versions are affected?
What version fixes GHSA-3hfp-gqgh-xc5g?
Is @lightdash/cli affected?
What is the CVSS score of GHSA-3hfp-gqgh-xc5g?
What CWE is associated with GHSA-3hfp-gqgh-xc5g?
How can I check npm dependencies for GHSA-3hfp-gqgh-xc5g?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3hfp-gqgh-xc5g",
"modified" : "2026-04-02T18:36:10Z",
"published" : "2026-04-02T18:36:10Z",
"aliases" : [ ],
"summary" : "Axios supply chain attack - dependency in @lightdash/cli may resolve to compromised axios versions",
"details" : "### Impact\n\nA supply chain attack on the `axios` npm package (versions 1.14.1 and 0.30.4) introduced a malicious transitive dependency (`plain-crypto-js@4.2.1`) that deploys a cross-platform remote access trojan (RAT) on macOS, Windows, and Linux. The attacker compromised the primary axios maintainer's npm account to publish the malicious versions.\n\nThe malicious versions were live on npm for approximately 3 hours (00:21 UTC to 03:29 UTC on March 31, 2026) before being removed.\n\nThe `@lightdash/cli` package specified axios as a dependency with a semver range (`^1.12.0`) that permitted resolution to the compromised version. Any user who performed a fresh install of `@lightdash/cli` versions `>= 0.1800.0, < 0.2695.1` (without a pre-existing lockfile) during this window may have installed the malicious axios version.\n\nIf compromised, the RAT establishes a connection to a command-and-control server (`sfrclak[.]com` / `142.11.206.73:8000`) and provides the attacker with shell access, file system enumeration, and the ability to execute arbitrary commands. All credentials, secrets, and tokens accessible from the affected machine should be considered compromised.\n\nLightdash Cloud is not affected.\n\n### Patches\n\nThis has been patched in `@lightdash/cli@0.2695.1`. The fix pins axios to a known safe version (1.14.0).\n\nUsers should upgrade immediately:\n\n```\nnpm install -g @lightdash/cli@0.2695.1\n```\n\nIf users had installed the compromised version, they should check for RAT artifacts before and after upgrading:\n\n- macOS: `/Library/Caches/com.apple.act.mond`\n- Windows: `%PROGRAMDATA%\\wt.exe`\n- Linux: `/tmp/ld.py`\n\nIf any artifacts are found, assume full compromise of that machine and rotate all accessible credentials (warehouse credentials, API tokens, SSH keys, cloud provider credentials, environment variables).\n\n### Workarounds\n\nIf users cannot upgrade immediately, they can force a safe axios resolution after installing the CLI:\n\n```\nnpm install -g axios@1.14.0 --force\n```\n\nAlternatively, if users are building a Docker image or using a lockfile, they should ensure their resolved axios version is not 1.14.1 or 0.30.4:\n\n```\nnpm ls axios\n```\n\nBlock egress traffic to `sfrclak[.]com` and `142.11.206.73` at the network level to prevent the RAT from reaching its command-and-control server.\n\n### Resources\n\n- Upstream axios issue: https://github.com/axios/axios/issues/10604\n- StepSecurity analysis: https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-trojan\n- Socket analysis: https://socket.dev/blog/axios-npm-package-compromised\n- Snyk advisory (axios): https://security.snyk.io/vuln/SNYK-JS-AXIOS-15850650\n- Snyk advisory (plain-crypto-js): https://security.snyk.io/vuln/SNYK-JS-PLAINCRYPTOJS-15850652\n- The Hacker News coverage: https://thehackernews.com/2026/03/axios-supply-chain-attack-pushes-cross.html",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@lightdash/cli"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.1800.0"
}, {
"fixed" : "0.2695.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/lightdash/lightdash/security/advisories/GHSA-3hfp-gqgh-xc5g"
}, {
"type" : "WEB",
"url" : "https://github.com/axios/axios/issues/10604"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-fw8c-xr5c-95f9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/lightdash/lightdash"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JS-AXIOS-15850650"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-JS-PLAINCRYPTOJS-15850652"
}, {
"type" : "WEB",
"url" : "https://socket.dev/blog/axios-npm-package-compromised"
}, {
"type" : "WEB",
"url" : "https://thehackernews.com/2026/03/axios-supply-chain-attack-pushes-cross.html"
}, {
"type" : "WEB",
"url" : "https://www.stepsecurity.io/blog/axios-compromised-on-npm-malicious-versions-drop-remote-access-trojan"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1395", "CWE-508" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-02T18:36:10Z",
"nvd_published_at" : null
}
}