Skip to main content

blackduck-c-cpp CVE-2026-76054

| EUVDEUVD-2026-64894 HIGH
Invocation of Process Using Visible Sensitive Information (CWE-214)
2026-08-24 BlackDuck GHSA-95m4-f2x3-273j
7.1
CVSS 4.0 · Vendor: BlackDuck
View

Attack ChainAIDerived

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

  1. Access
    Inject code into build (malicious dep/script)
  2. Delivery
    Code executes during blackduck-c-cpp build capture
  3. Exploit
    Read BLACKDUCK_API_TOKEN from inherited environment
  4. Execution
    Exfiltrate token to attacker-controlled endpoint
  5. Persist
    Authenticate to Black Duck Hub API
  6. Impact
    Enumerate or manipulate SCA scan results

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

The attacker must have the ability to execute arbitrary code within the scanned project's build environment - achieved, for example, through a malicious build script (Makefile target, CMake custom command), a compromised or malicious C/C++ dependency that runs code at build time, or a supply chain injection into the project's source tree. The vulnerability is exclusively triggered when the Black Duck API token is supplied via the BLACKDUCK_API_TOKEN or BD_HUB_TOKEN environment variable; configurations that inject the token through a file, a dedicated credential store, or a mechanism that does not expose it in the process environment are not vulnerable to this specific flaw. The CVSS 4.0 AT:P metric confirms that these specific attack requirements must be present. Exploitation is limited by: (1) requirement for code execution inside the build environment, (2) the non-default nature of allowing untrusted or third-party code to run during build scans, and (3) the fact that well-isolated CI environments with no outbound network access would prevent exfiltration even if the token is read.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L) correctly identifies local access with low complexity, but AT:P (attack requirements present) is the critical gating condition: exploitation requires code execution inside the build environment, which is a non-trivial prerequisite in hardened CI/CD pipelines. The subsequent-system impact metrics (SC:H/SI:H) are realistic - a stolen API token grants broad access to the Black Duck Hub, potentially enabling enumeration of all scanned repositories and manipulation of scan results. No EPSS score was provided in the input data, and no CISA KEV listing is indicated, meaning widespread automated exploitation has not been confirmed. The absence of a KEV listing should not be read as low urgency: any CI pipeline currently using affected versions with token-via-environment-variable configuration has already exposed its token to any build-time code, and the vendor's own advisory states that the damage is not undone by upgrading. The true risk gate is whether the build environment is trusted and isolated - organizations running blackduck-c-cpp against untrusted or third-party code have the highest exposure.

Exploit ScenarioDerived

A threat actor embeds a malicious rule in a project's Makefile or a compromised C/C++ dependency that, when executed during blackduck-c-cpp's build capture phase, reads /proc/self/environ (or calls getenv()) to extract the BLACKDUCK_API_TOKEN value and exfiltrates it to an attacker-controlled endpoint. With the stolen token, the attacker authenticates to the Black Duck Hub API, enumerates all scanned projects and their vulnerability reports, and potentially modifies scan results to suppress findings - undermining the integrity of the organization's SCA program. No public exploit code has been identified at time of analysis, but the technique requires no specialized tooling.

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

Token exfiltration in Black Duck blackduck-c-cpp 1.0.17 through 3.0.6 allows any actor with code execution inside a scanned project's build to read the Black Duck API token from the process environment inherited by scanning subprocesses. The token - when supplied via BLACKDUCK_API_TOKEN or BD_HUB_TOKEN - is passed in plaintext to child processes spawned during build capture and signature scanning, where it is observable by co-located code. No public exploit has been identified at time of analysis; however, the vendor explicitly warns that upgrading does not remediate prior exposure, making token rotation a mandatory incident-response step for all affected deployments.

RemediationAI

Upgrade blackduck-c-cpp to a version beyond 3.0.6 per the vendor advisory at https://community.blackduck.com/s/article/Black-Duck-Product-Security-Advisory-CVE-2026-76054-CVE-2026-76055; the exact patched release number was not specified in the available data and should be verified against PyPI or the advisory. Critically, the vendor states that upgrading does not remediate prior disclosure - any Black Duck API token ever supplied via BLACKDUCK_API_TOKEN or BD_HUB_TOKEN to an affected version (1.0.17-3.0.6) must be rotated immediately through the Black Duck Hub administration interface, as it may have been read by build-time code. As an immediate compensating control, stop passing the token via environment variable and instead supply it through a secrets manager or credential helper that injects it transiently at execution time without persisting it in the inherited environment. Additionally, restrict who can introduce or modify build scripts and dependencies in projects scanned by this tool - ephemeral, isolated CI containers with minimal ambient privileges reduce the window for co-located token observation. Tradeoff: secrets-manager integration requires pipeline reconfiguration and may add latency to scan invocations.

Affected VersionsENISA

blackduck-c-cpp 1.0.17 <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

CWE-214 (Invocation of Process Using Visible Sensitive Information) covers scenarios where a process exposes sensitive data - such as credentials - through its environment, which POSIX-compliant operating systems make available to child processes by default via execve inheritance and, on Linux, through /proc/<pid>/environ readable by the process owner. The blackduck-c-cpp tool (CPE: cpe:2.3:a:black_duck:blackduck-c-cpp:*:*:*:*:*:*:*:*, versions 1.0.17-3.0.6, distributed via PyPI) is a C/C++ build-capture and SCA component of the Black Duck platform that spawns subprocesses during build analysis and signature scanning phases. When the operator supplies the Black Duck API token through the BLACKDUCK_API_TOKEN or BD_HUB_TOKEN environment variable, those variables are inherited by every subprocess launched during the scan, making the token observable to any code executing within that environment - including malicious build scripts or compromised dependencies.

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.1 HIGH
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:L
vuln.today AI 7.1 HIGH

Local attack vector (code execution in build); no system-level privileges required; scope changes to Black Duck Hub; only confidentiality impact via token disclosure.

3.1 AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/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
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
Low

Lifecycle Timeline

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

DescriptionCVE.org

Invocation of Process Using Visible Sensitive Information in Black Duck blackduck-c-cpp 1.0.17 through 3.0.6 allows an actor able to execute code within the scanned project's build to obtain the Black Duck API token via the ambient process environment, which is inherited by subprocesses launched during build capture and signature scanning. This applies only where the token is supplied through the BLACKDUCK_API_TOKEN or BD_HUB_TOKEN environment variable.

Upgrading does not remediate prior disclosure; any token supplied to an affected version through an environment variable should be rotated.

Executive ViewAI

Why It Matters

Black Duck blackduck-c-cpp versions 1.0.17 through 3.0.6 leak API authentication tokens through environment variable exposure during build processes, potentially allowing unauthorized access to Black Duck infrastructure. Organizations using these versions must immediately patch and rotate all exposed credentials, as the vendor confirms that patching does not remediate prior token compromises.

Business Impact: High
Compensating Controls

Apply vendor patch. Mandatory credential rotation required for all API tokens that may have been exposed during operation of versions 1.0.17-3.0.6, as patching alone does not remediate historical compromises.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche SCA tool for C/C++ build analysis pipelines
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
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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