Read the docs
TI-2024-16345 Aliases CVE-2024-24828GHSA-22r3-9w55-cj54

Local Privilege Escalation in execuatables bundled by pkg

Priority LOW 36CWE-276Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Will not fix Red Hat: no fix planned

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

pkg is tool design to bundle Node.js projects into an executables. Any native code packages built by `pkg` are written to a hardcoded directory. On unix systems, this is `/tmp/pkg/*` which is a shared directory for all users on the same local system. There is no uniqueness to the package names within this directory, they are predictable. An attacker who has access to the same local system has the ability to replace the genuine executables in the shared directory with malicious executables of the same name. A user may then run the malicious executable without realising it has been modified. This package is deprecated. Therefore, there will not be a patch provided for this vulnerability. To check if your executable build by pkg depends on native code and is vulnerable, run the executable and check if `/tmp/pkg/` was created. Users should transition to actively maintained alternatives. We would recommend investigating Node.js 21’s support for single executable applications. Given the decision to deprecate the pkg package, there are no official workarounds or remediations provided by our team. Users should prioritize migrating to other packages that offer similar functionality with enhanced security.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00233 14th percentileScored 2026-11-07
Fix Will not fix Red Hat: no fix planned

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
vercelpkgup to 5.8.1—No fix listedCNA
—pkg (npm)up to 5.8.1—No fix listedGHSA-22r3-9w55-cj54
  • pkg Vendorvercel Affected up to 5.8.1 Fixed in — No fix listed CNA
  • pkg (npm) Vendor— Affected up to 5.8.1 Fixed in — No fix listed GHSA-22r3-9w55-cj54

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:vercel:pkg:*:*:*:*:*:node.js:*:*up to 5.8.1Vulnerablevercel
  • cpe:2.3:a:vercel:pkg:*:*:*:*:*:node.js:*:* Versions up to 5.8.1 Vulnerable ·vercel

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat JBoss Enterprise Application Platform 6AffectedNo fix planned: Out of support scope
Red Hat Openshift Container Storage 4AffectedNo fix planned: Out of support scope
Not affected: 1 product
  • Red Hat Openshift Data Foundation 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-24828
  2. 2026-10-03 Alias added: GHSA-22r3-9w55-cj54

References

Sources