Skip to main content
VulnerabilityPublished Updated

Aws sam cli: Sensitive Information Exposure Through Insecure Logging For Secrets Like Metadata.DockerBuildArgs

Affects aws-sam-cliSource GCVE Database

0

CVSS 4.8 Medium : upgrade to 1.122.0 when convenient.

Data as of 26 Oct 2026, 18:58 UTC

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.122.0
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N

What to do

Upgrade aws-sam-cli to 1.122.0.

Affected software

ProductAffectedFixed in
Homebrewaws-sam-clipkg:brew/aws-sam-cliOther threatsAffected
  • >=1.70.0 <1.122.0
Fixed in
  • 1.122.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade AWS SAM CLI to version 1.122.0 or later, where this issue is patched. Review existing logs from sam build commands if DockerBuildArgs was used, and rotate any secrets that may have been exposed. No other mitigation is indicated by the vendor advisory.

Description

AWS SAM CLI versions from 1.70.0 up to but not including 1.122.0 expose sensitive information through insecure logging. Specifically, sensitive data provided in the DockerBuildArgs parameter of the SAM template is output in clear text to STDERR during the sam build command. This can lead to unintended disclosure of secrets. A patch is available in version 1.122.0 and later.

References

Community reviews

Loading reviews…