CVE-2026-76054

API Token Exposure via Build Process in Black Duck blackduck-c-cpp

Published Aug 24, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Invocation of a subprocess during the build process in Black Duck blackduck-c-cpp inherits the executing environment, allowing any code running in the build to read the BLACKDUCK_API_TOKEN or BD_HUB_TOKEN environment variable. This leaks the API token, granting unauthorized access to the Black Duck system and potentially enabling further compromises. The weakness falls under CWE‑214, which concerns the disclosure of sensitive information via environment variables. The impact is primarily a confidentiality breach of the API token, with downstream effects that could expose the entire Black Duck instance or any services authenticated with that token.

Affected Systems

Black Duck blackduck-c-cpp versions 1.0.17 through 3.0.6 when the API token is supplied via the BLACKDUCK_API_TOKEN or BD_HUB_TOKEN environment variable.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no known widespread exploitation yet. However, the attack requires the attacker to execute code within the build environment, which is typically accessible to developers or CI runners. When that condition is met, the sensitive token is revealed, enabling further downstream compromise. The lack of a KEV listing does not mitigate the risk of internal or supply‑chain attackers.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Black Duck blackduck-c-cpp to any version newer than 3.0.6 to eliminate the root‑cause flaw.
  • Rotate any API tokens that have been exposed through the environment variables and update build scripts to use the new tokens.
  • Restrict build execution to trusted users and eliminate the ability for arbitrary code to run in the project’s build environment; consider using a secure secret store or configuration file with restrictive permissions instead of environment variables.

Generated by OpenCVE AI on August 24, 2026 at 21:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title API Token Exposure via Build Process in Black Duck blackduck-c-cpp
First Time appeared Black Duck
Black Duck blackduck-c-cpp
Vendors & Products Black Duck
Black Duck blackduck-c-cpp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Weaknesses CWE-214
References
Metrics cvssV4_0

{'score': 7.1, 'vector': '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'}

Weaknesses
  • CWE-214

    Invocation of Process Using Visible Sensitive Information

Sources

Status
PUBLISHED
Assigner
BlackDuck
Published
Updated
Aug 24, 2026, 3:00 PM
Reserved
Aug 18, 2026, 8:17 PM
Status
Awaiting Analysis
Published
Aug 24, 2026, 3:16 PM
Modified
Oct 12, 2026, 3:10 PM