{"schemaVersion":3,"id":"CVE-2026-59944","aliases":["UBUNTU-CVE-2026-59944","DEBIAN-CVE-2026-59944","openSUSE-SU-2026:11633-1"],"status":"published","duplicateOf":null,"title":null,"description":"Composer is a dependency Manager for the PHP language. From 1.0 until 2.2.30 and from 2.3.0 until 2.10.3, a malicious or compromised dependency can bypass the earlier CVE-2026-59946 binary-path hardening because Composer validates literal parent-directory segments only during dependency resolution, while the symlink and installed-metadata paths described by the advisory skip that validation. A package can ship an in-package binary symlink that resolves outside its installation directory, or attacker-influenced vendor/composer/installed.json metadata can provide an escaping binary path during a reinstall or regeneration of missing vendor/bin entries. The installed-metadata path is reachable only when the vendor directory was not populated by the same validated install run, such as when it is restored from an untrusted cache, copied from an earlier build stage, carried over from an older Composer run, or writable by a lower-trust build step. Composer can follow the path, change the external target's permissions to make it world-readable and executable, and create a runnable vendor/bin proxy to that external file. The issue does not directly read or transmit data and does not by itself provide remote code execution. This issue is fixed in versions 2.2.30 and 2.10.3.","dates":{"published":"2026-09-16T16:09:43.258Z","modified":"2026-09-16T17:29:39.824Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","exploitability":4.6,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","exploitability":4.6,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00322,"percentile":0.23955,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":-0.13199999999999995,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00454},"history":[{"date":"2026-09-17T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00322,"percentile":0.23955}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00454,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00322,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00322,"percentile":0.23955}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"composer","product":"composer","name":"composer","label":"composer","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < 2.2.30","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.10.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 2.2.30 | ≥ 2.3.0, < 2.10.3","eol":null,"hubHref":"/vendor/composer/composer"},{"vendor":"debian","product":"composer","name":"composer","label":"composer","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/composer","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.10.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.10.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"composer","name":"composer","label":"composer","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/composer","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opensuse","product":"php-composer2&distro=openSUSE Tumbleweed","name":"php-composer2","label":"php-composer2&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/php-composer2&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 2.10.3-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.10.3-1.1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/composer/composer/security/advisories/GHSA-96h3-5x6v-m776","label":"github.com/composer/composer/security/advisories/GHSA-96h3-5x6v-m776","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/composer/composer/commit/53b8bb4c24697b2f00a18cf1ef35a10392701b89","label":"github.com/composer/composer/commit/53b8bb4c24697b2f00a18cf1ef35a10392701b89","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/composer/composer/commit/ad649fdfdf8ed826d4a34e0e5690c76a0b4833aa","label":"github.com/composer/composer/commit/ad649fdfdf8ed826d4a34e0e5690c76a0b4833aa","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/composer/composer/releases/tag/2.10.3","label":"github.com/composer/composer/releases/tag/2.10.3","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/composer/composer/releases/tag/2.2.30","label":"github.com/composer/composer/releases/tag/2.2.30","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://ubuntu.com/security/CVE-2026-59944","label":"ubuntu.com/security/CVE-2026-59944","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-59944","label":"www.cve.org/CVERecord?id=CVE-2026-59944","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-59944","label":"security-tracker.debian.org/tracker/CVE-2026-59944","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-59944","label":"www.suse.com/security/cve/CVE-2026-59944","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21970-1","RHSA-2026:63151","SUSE-SU-2026:23943-1","SUSE-SU-2026:4283-1","SUSE-SU-2026:4288-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21970-1","SUSE-SU-2026:23943-1","SUSE-SU-2026:4283-1","SUSE-SU-2026:4288-1"]},"timeline":[{"kind":"published","date":"2026-09-16T16:09:43.258Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-16T17:29:39.824Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T20:39:39.535Z","stale":false,"partial":false}}