Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade') Affecting aws-encryption-sdk package, versions [,3.3.1)[4.0.0,4.0.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-AWSENCRYPTIONSDK-16115497
  • published21 Apr 2026
  • disclosed20 Apr 2026
  • credit1seal

Introduced: 20 Apr 2026

CVE-2026-6550  (opens in a new tab)
CWE-757  (opens in a new tab)

How to fix?

Upgrade aws-encryption-sdk to version 3.3.1, 4.0.5 or higher.

Overview

aws-encryption-sdk is an AWS Encryption SDK implementation for Python

Affected versions of this package are vulnerable to Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade') via the shared key cache. An attacker can bypass key commitment policy enforcement by exploiting the caching mechanism, potentially causing ciphertext to be decrypted into multiple different plaintexts.

Note:

This is only exploitable if all of the following conditions are met:

  • Two ESDK for Python clients with different commitment policies share a single CachingCryptoMaterialsManager instance within the same process;

  • The client with the weaker commitment policy encrypts first, warming the cache;

  • Both clients use matching encryption contexts;

  • Both clients use the pre-configured default algorithm suite.

CVSS Base Scores

version 4.0
version 3.1