Intel

AIKIDO-2026-848670

@pulumi/docker-build is vulnerable to Cleartext Storage of Sensitive Information

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 30, 2026
June 30, 2026

35

CVE Score

Low

Cleartext Storage of Sensitive Information

Are you affected? Scan for Free

TL;DR

The docker-build:index:Image resource accepts a secrets input that holds sensitive build secret values passed directly by value. The provider schema and the language SDK do not mark this input as a Pulumi secret, so the supplied values are written to the stack state and shown in diffs and stack exports in plaintext. Anyone with access to the state file or to the operation output can read the unencrypted secrets. The fix marks the secrets input as secret in the schema and wraps it through the SDK with additional secret outputs so the values are encrypted in state.

How do I fix this?

Upgrade the @pulumi/docker-build library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and pass values to the secrets input of the docker-build:index:Image resource.

Versions

0.0.1 - 0.0.19

Fixed in 0.0.20

Background info

@pulumi/docker-build is vulnerable to Cleartext Storage of Sensitive Information in versions 0.0.1 - 0.0.19.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea