Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject code into build (malicious dep/script)
-
DeliveryCode executes during blackduck-c-cpp build capture
-
ExploitRead BLACKDUCK_API_TOKEN from inherited environment
-
ExecutionExfiltrate token to attacker-controlled endpoint
-
PersistAuthenticate to Black Duck Hub API
-
ImpactEnumerate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
Local attack vector (code execution in build); no system-level privileges required; scope changes to Black Duck Hub; only confidentiality impact via token disclosure.
Primary rating from Vendor (BlackDuck).
CVSS VectorVendor: BlackDuck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-64894
GHSA-95m4-f2x3-273j
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB