CVE-2026-6550: AWS Encryption SDK Key Commitment Policy Bypass Vulnerability

aws-encryption-sdk Updated 18 Jul 2026

Summary

13/07/2026
Yes i
Moderate
4.7

CVE-2026-6550: AWS Encryption SDK for Python: Key commitment policy bypass via shared key cache. Affects aws-encryption-sdk across 2 version ranges.

>= 2.0.0, < 3.3.1 >= 4.0.0, < 4.0.5

Fixed in 3.3.1 or 4.0.5, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The AWS Encryption SDK for Python is a client-side encryption library designed to facilitate secure data encryption and decryption. It provides developers with tools to implement encryption in their applications, ensuring data confidentiality and integrity. However, a vulnerability exists that allows an authenticated local threat actor to bypass key commitment policy enforcement under specific conditions, potentially compromising data security.

Vulnerability Detail

The vulnerability arises from a flaw in the caching layer of the AWS Encryption SDK for Python, where a downgrade in cryptographic algorithms can occur. This allows a client with a weaker key commitment policy to encrypt data first, which then gets cached. Subsequent clients, even those with stricter policies, may inadvertently use this cached data, leading to encryption without proper key commitment. As a result, the same ciphertext could be decrypted to different plaintexts, undermining message integrity and allowing a threat actor to manipulate the decryption process.

How To Fix

Latest published version: 4.0.7 as of 23 Oct 2026

pip install --upgrade "aws-encryption-sdk==4.0.7"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 2.0.0, < 3.3.1 3.3.1
    pip install --upgrade "aws-encryption-sdk==3.3.1"
  • >= 4.0.0, < 4.0.5 4.0.5
    pip install --upgrade "aws-encryption-sdk==4.0.5"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If multiple instances of the AWS Encryption SDK are required, each with different key commitment policies, do not share a key cache. This can be achieved by instantiating separate instances of CachingCryptoMaterialsManager for each client.

Conclusion

The CVE-2026-6550 vulnerability in the AWS Encryption SDK for Python poses a significant risk by allowing key commitment policy bypass under certain conditions. It is crucial for users to update to the latest versions of the SDK and implement recommended workarounds to ensure data integrity and security.

See every vulnerability recorded for aws-encryption-sdk →

Share this vulnerability

FAQ

It is a client-side encryption library that helps developers implement encryption in their applications to secure sensitive data.

It allows a local threat actor to bypass key commitment policy enforcement, potentially leading to data integrity issues.

You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.

The vulnerability can lead to message integrity being compromised, allowing unauthorized decryption of messages.

Update the AWS Encryption SDK to the latest patched versions and avoid sharing key caches between clients with different commitment policies.

Related vulnerabilities

Recent vulnerabilities recorded for aws-encryption-sdk.

How To Fix

Latest published version: 4.0.7 as of 23 Oct 2026

pip install --upgrade "aws-encryption-sdk==4.0.7"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 2.0.0, < 3.3.1 3.3.1
    pip install --upgrade "aws-encryption-sdk==3.3.1"
  • >= 4.0.0, < 4.0.5 4.0.5
    pip install --upgrade "aws-encryption-sdk==4.0.5"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback