Fix CVE(s): CVE-2026-40176, CVE-2026-40261
* Non-maintainer upload by the TuxCare ELS team. * CVE-2026-40261: Prevent a command injection vulnerability in Perforce::syncCodeBase(), which appended the source reference to the 'p4 sync -f' command without escaping. Package metadata served by a malicious or compromised Composer repository could inject shell metacharacters, leading to command execution even when Perforce is not installed. - debian/patches/0018-CVE-2026-40261.patch * CVE-2026-40176: Prevent a command injection vulnerability in Perforce::generateP4Command(), which interpolated the Perforce connection parameters (user, client, port) into the 'p4' command line without escaping. A malicious composer.json declaring a Perforce VCS repository could inject shell metacharacters, leading to command execution even when Perforce is not installed. Also backport the prerequisite upstream fix for Perforce::connectClient(), which passed the client spec path through the shell redirection of the same command line with only spaces escaped. - debian/patches/0019-CVE-2026-40176.patch
- Products
- composer
- Affected versions
- Not specified
- Fixed versions
- 1.8.4-1+deb10u4+tuxcare.els1
- CVEs
- CVE-2026-40176, CVE-2026-40261
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 11:21 UTC · Revision 1
Source evidence
Fix CVE(s): CVE-2026-40176, CVE-2026-40261
core-osv · Original sourcePublished 18 Aug 2026, 14:47 UTC
* Non-maintainer upload by the TuxCare ELS team. * CVE-2026-40261: Prevent a command injection vulnerability in Perforce::syncCodeBase(), which appended the source reference to the 'p4 sync -f' command without escaping. Package metadata served by a malicious or compromised Composer repository could inject shell metacharacters, leading to command execution even when Perforce is not installed. - debian/patches/0018-CVE-2026-40261.patch * CVE-2026-40176: Prevent a command injection vulnerability in Perforce::generateP4Command(), which interpolated the Perforce connection parameters (user, client, port) into the 'p4' command line without escaping. A malicious composer.json declaring a Perforce VCS repository could inject shell metacharacters, leading to command execution even when Perforce is not installed. Also backport the prerequisite upstream fix for Perforce::connectClient(), which passed the client spec path through the shell redirection of the same command line with only spaces escaped. - debian/patches/0019-CVE-2026-40176.patch
osv:CLSA-2026-1787064466
composer
Fixed versions: 1.8.4-1+deb10u4+tuxcare.els1
Complete source record
{
"id": "2f9c61276f770ed60eaba92d1f40cbd2c73f53310848067da8018f8637e70de8",
"url": "https://osv.dev/vulnerability/CLSA-2026-1787064466",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Fix CVE(s): CVE-2026-40176, CVE-2026-40261",
"summary": "* Non-maintainer upload by the TuxCare ELS team. * CVE-2026-40261: Prevent a command injection vulnerability in Perforce::syncCodeBase(), which appended the source reference to the 'p4 sync -f' command without escaping. Package metadata served by a malicious or compromised Composer repository could inject shell metacharacters, leading to command execution even when Perforce is not installed. - debian/patches/0018-CVE-2026-40261.patch * CVE-2026-40176: Prevent a command injection vulnerability in Perforce::generateP4Command(), which interpolated the Perforce connection parameters (user, client, port) into the 'p4' command line without escaping. A malicious composer.json declaring a Perforce VCS repository could inject shell metacharacters, leading to command execution even when Perforce is not installed. Also backport the prerequisite upstream fix for Perforce::connectClient(), which passed the client spec path through the shell redirection of the same command line with only spaces escaped. - debian/patches/0019-CVE-2026-40176.patch",
"evidence": "osv:CLSA-2026-1787064466",
"products": [
{
"name": {
"value": "composer",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.8.4-1+deb10u4+tuxcare.els1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CLSA-2026-1787064466",
"aliases": [
"CLSA-2026-1787064466"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.4-1+deb10u4+tuxcare.els1"
}
]
}
],
"package": {
"name": "composer",
"purl": "pkg:deb/tuxcare/composer?distro=debian-10",
"ecosystem": "TuxCare:Debian:10"
},
"database_specific": {
"source": "https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/debian10els/CLSA-2026-1787064466.json"
}
}
],
"modified": "2026-10-26T09:31:52.613459333Z",
"provider": "osv",
"upstream": [
"CVE-2026-40176",
"CVE-2026-40261"
],
"references": [
"https://errata.tuxcare.com/els_os/debian10els/CLSA-2026-1787064466.html",
"https://nvd.nist.gov/vuln/detail/CVE-2026-40176",
"https://nvd.nist.gov/vuln/detail/CVE-2026-40261"
]
},
"related_cves": [
{
"value": "CVE-2026-40176",
"evidence": "/upstream"
},
{
"value": "CVE-2026-40261",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 448790,
"published_at": "2026-08-18T14:47:57+00:00"
}