// Security Advisory Triage

Powertools for AWS Lambda (Python) 3.6.0–3.34.0 exposes masked sensitive fields

AWS security bulletins · published 2026-10-02 20:05 UTC
ACTION NEEDED VERIFY_EXPOSURE SECURITYAPI
WHAT CHANGEDCVE-2026-104002 disclosed on 1 October 2026. Powertools for AWS Lambda (Python) versions 3.6.0 through 3.34.0 contain a fail-open error handling bug in the data masking utility that allows actors to read sensitive field values the application intended to mask.
WHY IT MATTERSIf your Lambda functions use Powertools data masking to protect PII, credentials, or other sensitive data in logs or responses, that data may be exposed in plaintext when the masking utility encounters an error. This defeats the protection you believed was in place.
WHAT TO DOCheck your Lambda function dependencies for aws-lambda-powertools versions 3.6.0–3.34.0. If present and you use the data masking utility, upgrade to the patched version or apply the workaround documented in bulletin 2026-123-AWS.
Model-reported confidence 95% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+## CVE-2026-104002: Fail-open error handling in the data masking utility in Powertools for AWS Lambda (Python)
+https://aws.amazon.com/security/security-bulletins/rss/2026-123-aws/
+Thu, 01 Oct 2026 21:15:48 +0000
+
+Bulletin ID: 2026-123-AWS
+
+Scope: AWS
+
+Content Type: Important (requires attention)
+
+Publication Date: 10/01/2026 14:00 PM PDT
+Description:
+Powertools for AWS Lambda (Python) is a developer toolkit that implements serverless best practices and increases developer velocity. We identified CVE-2026-104002, a fail-open error handling issue within the data masking utility of Powertools for AWS Lambda (Python). This issue might allow actors to read sensitive field values that the application intended to mask.
+Impacted versions: >=3.6.0 AND <=3.34.0
+Please refer to the article below for the most up-to-date and complete information related to this AWS Security Bulletin.
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.55
triage reasoningData masking bypass in widely-deployed Python Lambda toolkit allows exposure of sensitive fields.
signalsfail-open vulnerability in data masking · affects Python runtime package in dependency tree · allows reading of sensitive masked fields · wide version range affected (3.6.0–3.34.0) · Powertools is widely used AWS Lambda utility
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)