Lucene search
K

CVE-2026-40261

🗓️ 15 Apr 2026 20:56:32Reported by GitHub_MType 
cve
 cve
🔗 web.nvd.nist.gov📰️ 4 Media mentions👁 17 Views🌐 WEB

CVE-2026-40261: Composer command injection via Perforce source reference or URL, fixed in 2.2.27 and 2.9.6.

Related
Detection
Affected
Refs
Paths
Social
NVD
Vulners
Node
getcomposercomposerRange1.0.02.2.26
OR
getcomposercomposerRange2.3.02.9.5
[
  {
    "vendor": "composer",
    "product": "composer",
    "versions": [
      {
        "version": ">= 2.3.0, < 2.9.6",
        "status": "affected"
      },
      {
        "version": ">= 1.0.0, < 2.2.27",
        "status": "affected"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
urlnestedPERFORCE_URL; INJECTED_COMMAND #Command injection via unescaped Perforce repository config in Composer, allowing execution of injected commands through crafted Perforce fields.CWE-20CWE-78
depotnestedPERFORCE_URL; INJECTED_COMMAND #Command injection via unescaped Perforce repository config in Composer, allowing execution of injected commands through crafted Perforce fields.CWE-20CWE-78
p4usernestedPERFORCE_URL; INJECTED_COMMAND #Command injection via unescaped Perforce repository config in Composer, allowing execution of injected commands through crafted Perforce fields.CWE-20CWE-78
p4passwordnestedPERFORCE_URL; INJECTED_COMMAND #Command injection via unescaped Perforce repository config in Composer, allowing execution of injected commands through crafted Perforce fields.CWE-20CWE-78
portnestedPERFORCE_URL; INJECTED_COMMAND #Command injection via unescaped Perforce repository config in Composer, allowing execution of injected commands through crafted Perforce fields.CWE-20CWE-78
commandnestedPERFORCE_URL; INJECTED_COMMAND #Command injection via unescaped Perforce repository config in Composer, allowing execution of injected commands through crafted Perforce fields.CWE-20CWE-78
sourceReferencenestedPERFORCE_URL; INJECTED_COMMAND #Command injection in Perforce-related metadata used by Composer when installing/updating dependencies, via unescaped Perforce parameters in package metadata.CWE-20CWE-78
sourceUrlnestedPERFORCE_URL; INJECTED_COMMAND #Command injection in Perforce-related metadata used by Composer when installing/updating dependencies, via unescaped Perforce parameters in package metadata.CWE-20CWE-78
depotnestedPERFORCE_URL; INJECTED_COMMAND #Command injection in Perforce-related metadata used by Composer when installing/updating dependencies, via unescaped Perforce parameters in package metadata.CWE-20CWE-78
p4usernestedPERFORCE_URL; INJECTED_COMMAND #Command injection in Perforce-related metadata used by Composer when installing/updating dependencies, via unescaped Perforce parameters in package metadata.CWE-20CWE-78
Rows per page

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

30 Jun 2026 03:19Current
6.2Medium risk
Vulners AI Score6.2
CVSS 3.18.8
EPSS0.01688
SSVC
17