CVE-2026-59948
Last modified
CVE-2026-59948 is a high-severity vulnerability rated 7/10 on the CVSS scale. Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a maliciously crafted package from an untrusted repository other than Packagist.org or Private Packagist can cause Composer to write attacker-controlled files outside the vendor directory and outside the project during install or update by using an invalid package name that is not correctly validated before dependency-resolution results are written or installed. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a maliciously crafted package from an untrusted repository other than Packagist.org or Private Packagist can cause Composer to write attacker-controlled files outside the vendor directory and outside the project during install or update by using an invalid package name that is not correctly validated before dependency-resolution results are written or installed. This issue is fixed in versions 2.2.29 and 2.10.2.
Metrics
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| composer | composer | >= 1.0, < 2.2.29; >= 2.3.0, < 2.10.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-59948?
How severe is CVE-2026-59948?
How do I fix CVE-2026-59948?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5994A security flaw has been discovered in Totolink A7100RU 7.4c…9.8
- CVE-2026-59941Dompdf is an HTML to PDF converter for PHP. Versions 3.15 an…7.5
- CVE-2026-59942Dompdf is an HTML to PDF converter for PHP. Versions 3.15 an…7.5
- CVE-2026-59943Dompdf is an HTML to PDF converter for PHP. In versions 3.15…5.3
- CVE-2026-59946Composer is a dependency Manager for the PHP language. Prior…6.1
- CVE-2026-59947Composer is a dependency Manager for the PHP language. Prior…4.7
- CVE-2026-5995A weakness has been identified in Totolink A7100RU 7.4cu.231…9.8
- CVE-2026-59950The MCP Python SDK, called mcp on PyPI, is a Python implemen…8.1
- CVE-2026-59952Valibot helps validate data using a schema. Versions prior t…6.9
- CVE-2026-59954Apollo is a reliable configuration management system suitabl…7.5
- CVE-2026-59955Apollo is a reliable configuration management system suitabl…7.5
- CVE-2026-5996A security vulnerability has been detected in Totolink A7100…9.8
Are you affected by CVE-2026-59948?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
