SEVERITY AND EXPLOITATION CONTEXT

CVE-2024-54134: @solana/web3.js modified package published to npm, containing malware that exfiltrates private key material

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

@solana/web3.js modified package published to npm, containing malware that exfiltrates private key material

A publish-access account was compromised for `@solana/web3.js`, a JavaScript library that is commonly used by Solana dapps. This allowed an attacker to publish unauthorized and malicious packages that were modified, allowing them to steal private key material and drain funds from dapps, like bots, that handle private keys directly. This issue should not affect non-custodial wallets, as they generally do not expose private keys during transactions. This is not an issue with the Solana protocol itself, but with a specific JavaScript client library and only appears to affect projects that directly handle private keys and that updated within the window of 3:20pm UTC and 8:25pm UTC on Tuesday, December 3, 2024. These two unauthorized versions (1.95.6 and 1.95.7) were caught within hours and have since been unpublished. All Solana app developers should upgrade to version 1.95.8. Developers that suspect they might be compromised should rotate any suspect authority keys, including multisigs, program authorities, server keypairs, and so on.

Published CVE snapshot: 2026-10-22. Record last updated: 2024-12-04T21:40:13.670Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

GitHub_M · CVSS 4.0: 8.3 High

Calculated from the published vector. Base score: 8.3. Provider-reported Base score: 8.3.

Vector and metric explanationsCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
MetricValueMeaning
Attack vector (AV)NReachable across a network boundary, including internet or routed network paths.
Attack complexity (AC)LThere is no specific security-enhancing condition that the attacker must overcome.
Attack requirements (AT)NNo particular deployment or execution prerequisite is needed.
Privileges required (PR)NThe attacker needs no privileges before exploiting the vulnerability.
User interaction (UI)PA targeted user interacts in a limited or involuntary way, such as rendering attacker-controlled content.
Confidentiality (VC)HAll information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence.
Integrity (VI)NNo integrity impact is demonstrated.
Availability (VA)NNo availability impact is demonstrated.
Confidentiality (SC)HHigh impact is established in a system beyond the vulnerable system. Document the affected system and consequence.
Integrity (SI)NNo impact to this property is established in a subsequent system.
Availability (SA)NNo impact to this property is established in a subsequent system.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • solana-labs · solana-web3.js

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (1)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2024 · All published CVEs · Calculation methodology