{
  "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-40261-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-40261-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-40261"
  },
  "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-40261",
      "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::syncCodeBase() method, which appends the $sourceReference parameter to a shell command without proper escaping, and additionally in the Perforce::generateP4Command() method as in GHSA-wg36-wvj6-r67p / CVE-2026-40176, which interpolates user-supplied Perforce connection parameters (port, user, client) from the source url field without proper escaping. An attacker can inject arbitrary commands through crafted source reference or source url values containing shell metacharacters, even if Perforce is not installed. Unlike CVE-2026-40176, the source reference and url are provided as part of package metadata, meaning any compromised or malicious Composer repository can serve package metadata declaring perforce as a source type with malicious values. This vulnerability is exploitable when installing or updating dependencies from source, including the default behavior when installing dev-prefixed versions. This issue has been fixed in Composer 2.2.27 (2.2 LTS) and 2.9.6 (mainline). If developers are unable to immediately update, they can avoid installing dependencies from source by using --prefer-dist or the preferred-install: dist config setting, and only use trusted Composer repositories as a workaround.",
          "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-40261"
        },
        {
          "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-gqw4-4w2p-838q",
          "url": "https://github.com/composer/composer/security/advisories/GHSA-gqw4-4w2p-838q"
        },
        {
          "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-40261",
          "url": "https://access.redhat.com/security/cve/CVE-2026-40261"
        },
        {
          "category": "external",
          "summary": "https://bugzilla.redhat.com/show_bug.cgi?id=2458841",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2458841"
        },
        {
          "category": "external",
          "summary": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40261.json",
          "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40261.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": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/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"
        }
      ]
    }
  ]
}