OPENSUSE-SU-2026:21970-1

Vulnerability from csaf_opensuse - Published: 2026-09-29 14:57 - Updated: 2026-10-01 16:39
Summary
Security update for php-composer2
Severity
Moderate
Notes
Title of the patch: Security update for php-composer2
Description of the patch: This update for php-composer2 fixes the following issues: - CVE-2026-59944: path traversal and link following issue can make files world readable and executable (bsc#1279898).
Patchnames: openSUSE-Leap-16.0-1778
Terms of use: CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
Affected products
Product Identifier Version Remediation
Unresolved product id: openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch —
Vendor Fix
Threats
Impact moderate
Affected products
Recommended 1 product, the same list as for CVE-2026-45793
Threats
Impact moderate
Affected products
Recommended 1 product, the same list as for CVE-2026-45793
Threats
Impact moderate

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for php-composer2",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for php-composer2 fixes the following issues:\n\n- CVE-2026-59944: path traversal and link following issue can make files world readable and executable (bsc#1279898).\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "openSUSE-Leap-16.0-1778",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21970-1.json"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1279898",
        "url": "https://bugzilla.suse.com/1279898"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1280019",
        "url": "https://bugzilla.suse.com/1280019"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2026-45793 page",
        "url": "https://www.suse.com/security/cve/CVE-2026-45793/"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2026-59944 page",
        "url": "https://www.suse.com/security/cve/CVE-2026-59944/"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2026-59947 page",
        "url": "https://www.suse.com/security/cve/CVE-2026-59947/"
      }
    ],
    "title": "Security update for php-composer2",
    "tracking": {
      "current_release_date": "2026-10-01T16:39:31Z",
      "generator": {
        "date": "2026-09-29T14:57:30Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "openSUSE-SU-2026:21970-1",
      "initial_release_date": "2026-09-29T14:57:30Z",
      "revision_history": [
        {
          "date": "2026-09-29T14:57:30Z",
          "number": "1",
          "summary": "Current version"
        },
        {
          "date": "2026-10-01T16:39:31Z",
          "number": "2",
          "summary": "unknown changes"
        }
      ],
      "status": "final",
      "version": "2"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "php-composer2-0:2.8.9-160000.6.1.noarch",
                "product": {
                  "name": "php-composer2-0:2.8.9-160000.6.1.noarch",
                  "product_id": "php-composer2-0:2.8.9-160000.6.1.noarch",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:a:getcomposer:composer:2.8.9:*:*:*:*:*:*:*",
                    "purl": "pkg:rpm/suse/php-composer2@2.8.9-160000.6.1?arch=noarch\u0026upstream=php-composer2-0:2.8.9-160000.6.1.src.rpm"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "openSUSE Leap 16.0",
                "product": {
                  "name": "openSUSE Leap 16.0",
                  "product_id": "openSUSE Leap 16.0"
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "php-composer2-0:2.8.9-160000.6.1.noarch as component of openSUSE Leap 16.0",
          "product_id": "openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch"
        },
        "product_reference": "php-composer2-0:2.8.9-160000.6.1.noarch",
        "relates_to_product_reference": "openSUSE Leap 16.0"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-45793",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2026-45793"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "Composer is a dependency Manager for the PHP language. Prior to 1.10.28, 2.2.28, and 2.9.8, Composer\\IO\\BaseIO::loadConfiguration() validates GitHub OAuth tokens with the regex ^[.A-Za-z0-9_]+$ and interpolates rejected tokens into an UnexpectedValueException; GitHub Actions GITHUB_TOKEN values using the ghs_\u003cid\u003e_\u003cbase64url-JWT\u003e format can contain -, fail validation, and be disclosed to stderr or CI logs. This issue is fixed in versions 1.10.28, 2.2.28, and 2.9.8.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2026-45793",
          "url": "https://www.suse.com/security/cve/CVE-2026-45793"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1271504 for CVE-2026-45793",
          "url": "https://bugzilla.suse.com/1271504"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-09-29T14:57:30Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2026-45793"
    },
    {
      "cve": "CVE-2026-59944",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2026-59944"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "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\u0027s 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.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2026-59944",
          "url": "https://www.suse.com/security/cve/CVE-2026-59944"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1279898 for CVE-2026-59944",
          "url": "https://bugzilla.suse.com/1279898"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 6.1,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N",
            "version": "3.1"
          },
          "products": [
            "openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-09-29T14:57:30Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2026-59944"
    },
    {
      "cve": "CVE-2026-59947",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2026-59947"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "Composer is a dependency Manager for the PHP language. Prior to 2.2.29 and 2.10.2, when Composer is run with -vvv debug verbosity, it could print a credential embedded in the username slot of a repository or package URL, such as a GitHub Personal Access Token in https://TOKEN@host/, to debug output because AuthHelper, Url::sanitize, and ProcessExecutor did not sanitize username-only URL credentials. This issue is fixed in versions 2.2.29 and 2.10.2.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2026-59947",
          "url": "https://www.suse.com/security/cve/CVE-2026-59947"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1271129 for CVE-2026-59947",
          "url": "https://bugzilla.suse.com/1271129"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 4.7,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "openSUSE Leap 16.0:php-composer2-0:2.8.9-160000.6.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-09-29T14:57:30Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2026-59947"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…