{
  "document": {
    "aggregate_severity": {
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "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"
      },
      {
        "category": "details",
        "text": "* Non-maintainer upload by the TuxCare ELS team.\n   * CVE-2026-40261: Prevent a command injection vulnerability in\n     Perforce::syncCodeBase(), which appended the source reference to the\n     'p4 sync -f' command without escaping. Package metadata served by a\n     malicious or compromised Composer repository could inject shell\n     metacharacters, leading to command execution even when Perforce is not\n     installed.\n     - debian/patches/0019-CVE-2026-40261.patch\n   * CVE-2026-40176: Prevent a command injection vulnerability in\n     Perforce::generateP4Command(), which interpolated the Perforce\n     connection parameters (user, client, port) into the 'p4' command line\n     without escaping. A malicious composer.json declaring a Perforce VCS\n     repository could inject shell metacharacters, leading to command\n     execution even when Perforce is not installed. Also backport the\n     prerequisite upstream fix for Perforce::connectClient(), which passed\n     the client spec path through the shell redirection of the same command\n     line with only spaces escaped.\n     - debian/patches/0020-CVE-2026-40176.patch\n   * CVE-2023-43655: Refuse to run on a non-CLI SAPI when\n     register_argc_argv is enabled and the entry point is a phar, which\n     allowed a composer.phar published to a web-accessible directory to be\n     driven through the query string. This package installs bin/composer as\n     a plain PHP script and ships no phar, so the guard is inert here; it is\n     applied for parity with the upstream and Debian bookworm fixes.\n     - debian/patches/0021-CVE-2023-43655.patch",
        "title": "Details"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://cve.tuxcare.com/els/releases/CLSA-2026:1789391878",
        "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1789391878"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/debian11els/advisories/2026/clsa-2026_1789391878.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-09-14T13:18:43Z",
      "generator": {
        "date": "2026-09-14T13:18:43Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CLSA-2026:1789391878",
      "initial_release_date": "2026-09-14T13:18:43Z",
      "revision_history": [
        {
          "date": "2026-09-14T13:18:43Z",
          "number": "1",
          "summary": "Initial version"
        }
      ],
      "status": "final",
      "version": "1"
    },
    "title": "Fix CVE(s): CVE-2023-43655, CVE-2026-40176, CVE-2026-40261"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Debian 11",
                "product": {
                  "name": "Debian 11",
                  "product_id": "Debian-11",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:debian:debian_linux:11:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Debian"
          }
        ],
        "category": "vendor",
        "name": "Software in the Public Interest, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "composer-0:2.0.9-2+deb11u4+tuxcare.els1.all",
                "product": {
                  "name": "composer-0:2.0.9-2+deb11u4+tuxcare.els1.all",
                  "product_id": "composer-0:2.0.9-2+deb11u4+tuxcare.els1.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/composer@2.0.9-2%2Bdeb11u4%2Btuxcare.els1?arch=all"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "composer-0:2.0.9-2+deb11u4+tuxcare.els1.all as a component of Debian 11",
          "product_id": "Debian-11:composer-0:2.0.9-2+deb11u4+tuxcare.els1.all"
        },
        "product_reference": "composer-0:2.0.9-2+deb11u4+tuxcare.els1.all",
        "relates_to_product_reference": "Debian-11"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2023-43655",
      "cwe": {
        "id": "CWE-74",
        "name": "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')"
      },
      "notes": [
        {
          "category": "description",
          "text": "Composer is a dependency manager for PHP. Users publishing a composer.phar to a public web-accessible server where the composer.phar can be executed as a php file may be subject to a remote code execution vulnerability if PHP also has `register_argc_argv` enabled in php.ini. Versions 2.6.4, 2.2.22 and 1.10.27 patch this vulnerability. Users are advised to upgrade. Users unable to upgrade should make sure `register_argc_argv` is disabled in php.ini, and avoid publishing composer.phar to the web as this is not best practice.",
          "title": "Vulnerability description"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-11:composer-0:2.0.9-2+deb11u4+tuxcare.els1.all"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2023-43655"
        },
        {
          "category": "external",
          "summary": "https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d",
          "url": "https://github.com/composer/composer/commit/4fce14795aba98e40b6c4f5047305aba17a6120d"
        },
        {
          "category": "external",
          "summary": "https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c",
          "url": "https://github.com/composer/composer/commit/955a48e6319c8962e5cd421b07c00ab3c728968c"
        },
        {
          "category": "external",
          "summary": "https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c",
          "url": "https://github.com/composer/composer/commit/95e091c921037b7b6564942845e7b738f6b95c9c"
        },
        {
          "category": "external",
          "summary": "https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf",
          "url": "https://github.com/composer/composer/security/advisories/GHSA-jm6m-4632-36hf"
        },
        {
          "category": "external",
          "summary": "https://lists.debian.org/debian-lts-announce/2024/03/msg00030.html",
          "url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00030.html"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FG/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/66H2WKFUO255T3BZTL72TNYJYH2XM5FG/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAE/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7AWYAUZNH565NWPIKGEIYBWHYNM5JGAE/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFOPGPW2KS37O3KJWBRGTUWHTXCQXBS2/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KFOPGPW2KS37O3KJWBRGTUWHTXCQXBS2/"
        }
      ],
      "release_date": "2023-09-29T20:15:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-09-14T13:18:00.821137Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1789391878",
          "product_ids": [
            "Debian-11:composer-0:2.0.9-2+deb11u4+tuxcare.els1.all"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1789391878"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    },
    {
      "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"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-11:composer-0:2.0.9-2+deb11u4+tuxcare.els1.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-09-14T13:18:00.821137Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1789391878",
          "product_ids": [
            "Debian-11:composer-0:2.0.9-2+deb11u4+tuxcare.els1.all"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1789391878"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    },
    {
      "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"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-11:composer-0:2.0.9-2+deb11u4+tuxcare.els1.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-09-14T13:18:00.821137Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2026:1789391878",
          "product_ids": [
            "Debian-11:composer-0:2.0.9-2+deb11u4+tuxcare.els1.all"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2026:1789391878"
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}