Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2024-24821

26
FAUCET Score

CVE-2024-24821 is a local privilege escalation vulnerability affecting Composer, the PHP dependency manager, in versions prior to 2.7.0 and 2.2.23. It allows arbitrary code execution when Composer is invoked in a directory with tampered files, potentially leading to root privilege escalation, lateral movement, or malicious code execution. Rated with a CVSS score of 7.8 (High), this vulnerability has a low attack complexity and requires local access but no user interaction. While there is no evidence of active exploitation, public exploit code, or significant community discussion, immediate patching is advised, or mitigation strategies like removing sudo Composer privileges and verifying vendor files should be implemented.

Impacted Technologies

VendorProductVersion(s)CPE
>= 2.0.0, < 2.2.23CPE matchmatch criteria
cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*
>= 2.3.0, < 2.7.0CPE matchmatch criteria
cpe:2.3:a:getcomposer:composer:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.8HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.0
Impact Score
6.0
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.27%
Probability of exploitation in next 30 days
EPSS Percentile
19.5%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0027 is in the 55th percentile among its peer group of 17,070 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

composerpatch availablevia ghsa
Product: composer/composerFixed in: 2.2.23
composerpatch availablevia ghsa
Product: composer/composerFixed in: 2.7.0
github_advisorypatch availablevia nvd_reference
View patch

Vendor Advisories (1)

composerGHSA-7c6p-848j-wh5hhigh

Composer code execution and possible privilege escalation via compromised InstalledVersions.php or installed.php

Feb 8, 2024

References

github.com / composer/composer/commit/64e4eb356b159a30c766cd1ea83450a38dc23bf5
Patch
github.com / composer/composer/security/advisories/GHSA-7c6p-848j-wh5h
Third Party Advisory