Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-59946

published medium CVSS 3.1 · 6.1

Composer: Path traversal in package bin field lets dependencies chmod arbitrary host files

Published
08 Jul 2026, 19:32:38 UTC
Updated
09 Jul 2026, 14:41:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
composer — composer>= 1.0, < 2.2.29 · >= 2.3.0, < 2.10.2 Affected Not stated GitHub_M
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1941 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-15-SP4 php-composer2noarch Advisory build 2.2.30-150400.3.21.1 SUSE-SU-2026:4283-1
Amazon Linux AL2023 composernoarch Listed in advisory Not stated ALAS2023-2026-1941
SUSE / openSUSE SLE-15-SP4 php-composer2noarch Advisory build 2.2.30-150400.3.24.1 SUSE-SU-2026:4589-1
SUSE / openSUSE SLE-15-SP5 php-composer2noarch Advisory build 2.2.30-150400.3.21.1 SUSE-SU-2026:4283-1
SUSE / openSUSE SLE-15-SP5 php-composer2noarch Advisory build 2.2.30-150400.3.24.1 SUSE-SU-2026:4589-1
Show 10 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP6 php-composer2noarch Advisory build 2.6.4-150600.3.12.1 SUSE-SU-2026:3105-1
SUSE / openSUSE SLE-15-SP7 php-composer2noarch Advisory build 2.6.4-150600.3.12.1 SUSE-SU-2026:3105-1
SUSE / openSUSE SLE-16 php-composer2noarch Advisory build 2.8.9-160000.4.1 SUSE-SU-2026:23116-1
SUSE / openSUSE SLE-16 php-composer2noarch Advisory build 2.8.9-160000.4.1 SUSE-SU-2026:23138-1
SUSE / openSUSE openSUSE-Leap-16.0 php-composer2noarch Advisory build 2.8.9-160000.4.1 OPENSUSE-SU-2026:21520-1
SUSE / openSUSE openSUSE-Tumbleweed php-composer2aarch64 Advisory build 2.10.2-1.1 OPENSUSE-SU-2026:11268-1
SUSE / openSUSE openSUSE-Tumbleweed php-composer2ppc64le Advisory build 2.10.2-1.1 OPENSUSE-SU-2026:11268-1
SUSE / openSUSE openSUSE-Tumbleweed php-composer2s390x Advisory build 2.10.2-1.1 OPENSUSE-SU-2026:11268-1
SUSE / openSUSE openSUSE-Tumbleweed php-composer2x86_64 Advisory build 2.10.2-1.1 OPENSUSE-SU-2026:11268-1
Amazon Linux AL2023 composersrc Listed in advisory Not stated ALAS2023-2026-1941

Description

Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, a Composer package bin entry containing .. path segments can resolve outside the package install directory and cause Composer's binary installation flow to chmod an existing host file to a world-readable and world-executable mode during composer install, update, or require. This issue is fixed in versions 2.2.29 and 2.10.2.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

11

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.1 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
composer composer >= 1.0, < 2.2.29 (affected)>= 2.3.0, < 2.10.2 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (GitHub_M · cna)
  • CWE-732 CWE-732: Incorrect Permission Assignment for Critical Resource (GitHub_M · cna)

References

5

Provider assertions

2

GitHub_M · cna

Composer: Path traversal in package bin field lets dependencies chmod arbitrary host files

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
46bb05be53a8e1139c15ad4add9c5bbd8fbdebdc72314e93d7d902c5ebf9ee54
Ingested
23 Sep 2026, 09:22:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected