Skip to content

Bundled Python 3.14.5 in AWS CLI v2 installer is affected by CVE-2026-7210, CVE-2026-6100, and CVE-2026-9669 #10416

Closed

Description

@leoshi01

Describe the bug

The AWS CLI v2 Linux installer bundles its own Python interpreter as
/usr/local/aws-cli/v2/<version>/dist/libpython3.14.so.1.0. The current
release (2.35.4) still bundles Python 3.14.5, which is flagged by container
image scanners for the following CPython CVEs:

  • CVE-2026-7210 (Critical) — xml.parsers.expat / xml.etree insufficient
    entropy (XML hash-flooding)
  • CVE-2026-6100 (Critical) — use-after-free in lzma/bz2/gzip decompressors
    after MemoryError
  • CVE-2026-9669 (High) — Python

All three are fixed in CPython 3.14.6 (released 2026-06-10). Any container
image that installs the official AWS CLI v2 fails security scans because of
the bundled libpython3.14, even though the rest of the image is clean.

This is the same class of issue as #10209 (bundled Python 3.14.3 →
CVE-2026-4519),
which was resolved by rebuilding the installer against a patched Python.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

The AWS CLI v2 installer bundles a patched CPython interpreter (3.14.6 or
later), so that the bundled libpython3.14.so.1.0 is no longer reported for
CVE-2026-7210, CVE-2026-6100, and CVE-2026-9669.

Current Behavior

The latest AWS CLI v2 (2.35.4) still bundles Python 3.14.5. A scan of the
installed dist directory reports:

CVE-2026-7210 Critical python 3.14.5
/usr/local/aws-cli/v2/2.35.4/dist/libpython3.14.so.1.0
CVE-2026-6100 Critical python 3.14.5
/usr/local/aws-cli/v2/2.35.4/dist/libpython3.14.so.1.0
CVE-2026-9669 High python 3.14.5
/usr/local/aws-cli/v2/2.35.4/dist/libpython3.14.so.1.0

The most recent bundled-Python upgrade in the changelog is 2.34.52
("Upgraded bundled Python interpreter to version 3.14.5"); nothing since has
moved it to 3.14.6.

Reproduction Steps

  1. Install AWS CLI v2 on Linux via the official installer:
    curl -fsSL "https://awscli.amazonaws.com/awscli-exe-linux-$(uname -m).zip"
    -o awscliv2.zip
    unzip awscliv2.zip && sudo ./aws/install

  2. Scan the installed directory with any CVE scanner, e.g. Trivy:
    trivy fs /usr/local/aws-cli/

    (or Grype: grype dir:/usr/local/aws-cli/)

  3. Observe CVE-2026-7210, CVE-2026-6100, and CVE-2026-9669 reported against
    the bundled /usr/local/aws-cli/v2//dist/libpython3.14.so.1.0
    (Python 3.14.5).

Possible Solution

Rebuild the AWS CLI v2 installer with the bundled CPython interpreter
upgraded to 3.14.6 or later (which contains the fixes for all three CVEs),
and publish it as a new 2.x.y release, as was done for #10209.

Additional Information/Context

CLI version used

aws-cli/2.35.4 (also reproduces on 2.34.37); bundled Python 3.14.5

Environment details (OS name and version, etc.)

Linux, container images (Ubuntu 24.04 base), linux/amd64 and linux/arm64. Installed via the official awscli-exe-linux-.zip installer.

Activity

  1. added
    bugThis issue is a bug.
    needs-triageThis issue or PR still needs to be triaged.
    on Jun 16, 2026
  2. added
    investigatingThis issue is being investigated and/or work is in progress to resolve the issue.
    dependenciesThis issue is a problem in a dependency.
    p2This is a standard priority issue
    and removed
    needs-triageThis issue or PR still needs to be triaged.
    on Jun 17, 2026
  3. RyanFitzSimmonsAK commented on Jun 17, 2026

    @RyanFitzSimmonsAK
    Contributor

    Hi @leoshi01, thanks for reaching out. We are aware of the CVEs flagging the AWS CLI, and are currently investigating whether we are impacted. We've also taken a backlog item to upgrade the bundled Python interpreter version to 3.14.6. I'll let you know when there are any updates.

  4. removed
    investigatingThis issue is being investigated and/or work is in progress to resolve the issue.
    on Jun 17, 2026
  5. removed their assignment
    on Jun 17, 2026
  6. aemous commented on Jun 25, 2026

    @aemous
    Contributor

    We have verified that we are NOT impacted by CVE-2026-7210, CVE-2026-6100, or CVE-2026-9669. We will update this Issue when there are any updates on upgrading the bundled Python interpreter version to 3.14.6+ to resolve scanners.

  7. RyanFitzSimmonsAK commented on Jul 7, 2026

    @RyanFitzSimmonsAK
    Contributor

    We've upgraded the bundled Python version to 3.14.6 starting in AWS CLI version 2.35.17. Thanks for reporting these CVEs.

  8. github-actions commented on Jul 7, 2026

    @github-actions
    Contributor

    This issue is now closed. Comments on closed issues are hard for our team to see.
    If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.dependenciesThis issue is a problem in a dependency.p2This is a standard priority issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions