{
  "document": {
    "aggregate_severity": {
      "text": "High"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/debian10els/vex/2026/cve-2026-40176-els_os-debian10els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-08-18T14:48:26Z",
      "generator": {
        "date": "2026-08-18T14:48:26Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2026-40176-ELS_OS-DEBIAN10ELS",
      "initial_release_date": "2026-04-15T21:17:00Z",
      "revision_history": [
        {
          "date": "2026-04-15T21:17:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-08-18T14:48:26Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2026-40176"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Debian 10",
                "product": {
                  "name": "Debian 10",
                  "product_id": "Debian-10",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:debian:debian_linux:10:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Debian"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "composer-0:1.8.4-1+deb10u4.all",
                "product": {
                  "name": "composer-0:1.8.4-1+deb10u4.all",
                  "product_id": "composer-0:1.8.4-1+deb10u4.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/debian/composer@1.8.4-1%2Bdeb10u4?arch=all"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "Software in the Public Interest, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "composer-0:1.8.4-1+deb10u4+tuxcare.els1.all",
                "product": {
                  "name": "composer-0:1.8.4-1+deb10u4+tuxcare.els1.all",
                  "product_id": "composer-0:1.8.4-1+deb10u4+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/composer@1.8.4-1%2Bdeb10u4%2Btuxcare.els1?arch=all"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "composer-0:1.8.4-1+deb10u4+tuxcare.els1.all as a component of Debian 10",
          "product_id": "Debian-10:composer-0:1.8.4-1+deb10u4+tuxcare.els1.all"
        },
        "product_reference": "composer-0:1.8.4-1+deb10u4+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-10"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "composer-0:1.8.4-1+deb10u4.all as a component of Debian 10",
          "product_id": "Debian-10:composer-0:1.8.4-1+deb10u4.all"
        },
        "product_reference": "composer-0:1.8.4-1+deb10u4.all",
        "relates_to_product_reference": "Debian-10"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-40176",
      "cwe": {
        "id": "CWE-20",
        "name": "Improper Input Validation"
      },
      "notes": [
        {
          "category": "description",
          "text": "Composer is a dependency manager for PHP. Versions 1.0 through 2.2.26 and 2.3 through 2.9.5 contain a command injection vulnerability in the Perforce::generateP4Command() method, which constructs shell commands by interpolating user-supplied Perforce connection parameters (port, user, client) without proper escaping. An attacker can inject arbitrary commands through these values in a malicious composer.json declaring a Perforce VCS repository, leading to command execution in the context of the user running Composer, even if Perforce is not installed. VCS repositories are only loaded from the root composer.json or the composer config directory, so this cannot be exploited through composer.json files of packages installed as dependencies. Users are at risk if they run Composer commands on untrusted projects with attacker-supplied composer.json files. This issue has been fixed in Composer 2.2.27 (2.2 LTS) and 2.9.6 (mainline).",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-10:composer-0:1.8.4-1+deb10u4+tuxcare.els1.all"
        ],
        "known_affected": [
          "Debian-10:composer-0:1.8.4-1+deb10u4.all"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2026-40176"
        },
        {
          "category": "external",
          "summary": "https://github.com/composer/composer/releases/tag/2.9.6",
          "url": "https://github.com/composer/composer/releases/tag/2.9.6"
        },
        {
          "category": "external",
          "summary": "https://github.com/composer/composer/security/advisories/GHSA-wg36-wvj6-r67p",
          "url": "https://github.com/composer/composer/security/advisories/GHSA-wg36-wvj6-r67p"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/errata/RHSA-2026:8165",
          "url": "https://access.redhat.com/errata/RHSA-2026:8165"
        },
        {
          "category": "external",
          "summary": "https://access.redhat.com/security/cve/CVE-2026-40176",
          "url": "https://access.redhat.com/security/cve/CVE-2026-40176"
        },
        {
          "category": "external",
          "summary": "https://bugzilla.redhat.com/show_bug.cgi?id=2458828",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2458828"
        },
        {
          "category": "external",
          "summary": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40176.json",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40176.json"
        }
      ],
      "release_date": "2026-04-15T21:17:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-08-18T14:47:48.701739Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1787064466",
          "product_ids": [
            "Debian-10:composer-0:1.8.4-1+deb10u4+tuxcare.els1.all"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1787064466"
        },
        {
          "category": "none_available",
          "date": "2026-04-15T21:17:00Z",
          "details": "Affected",
          "product_ids": [
            "Debian-10:composer-0:1.8.4-1+deb10u4.all"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "Debian-10:composer-0:1.8.4-1+deb10u4.all"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}