CVE-2026-9291: Amazon braket sdk Amazon-braket-sdk Vulnerable To Insecure Deserialization Vulnerability

HIGH
Advisory Identifier: GHSA-g697-2xrc-gc46
CVSS 7.1
CWE-502
Published
Advisory Summary

CVE-2026-9291 is a HIGH (CVSS 7.1) amazon-braket-sdk vulnerable to insecure deserialization vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Amazon braket sdk libraries in the PyPI ecosystem. The issue involves amazon-braket-sdk vulnerable to insecure deserialization via pickle.loads(). Remediation is available by upgrading affected packages to version 1.117.0.

CVE-2026-9291 at a Glance

CVE Identifier CVE-2026-9291
GHSA Identifier GHSA-g697-2xrc-gc46
Severity HIGH
CVSS v3.1 Base Score 7.1
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Amazon braket sdk
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-9291

To remediate this vulnerability, upgrade all affected Amazon braket sdk dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

amazon-braket-sdk fixed: 1.117.0
pip install amazon-braket-sdk>=1.117.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show amazon-braket-sdk

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-9291, inspect your installed packages using pip:

pip show amazon-braket-sdk

Analyze the terminal output to locate any version of Amazon braket sdk in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.117.0), your application is affected.

Note: The pip show amazon-braket-sdk command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Amazon braket sdk, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

**Summary** Amazon Braket SDK is an open-source Python library for interacting with the Amazon Braket quantum computing service, including managing hybrid quantum jobs and retrieving job results. An issue exists where, under certain circumstances, a remote authenticated user with S3 write access to a Braket job output bucket can achieve arbitrary code execution by exploiting insecure deserialization in the job results processing component. **Impact** The SDK's deserialize_values() function reads the dataFormat field directly from the job results JSON file without validation. An actor with write access to the victim's S3 job output bucket can modify the dataFormat field in results.json from PLAINTEXT to pickled_v4 and replace dataDictionary values with base64-encoded executable payloads. When the victim calls job.result(), load_job_result(), or load_job_checkpoint() as part of their normal Braket workflow, the SDK calls pickle.loads() on the actor-controlled data, executing arbitrary code with the victim's permissions. **Impacted versions**: >= v1.10.0 AND < 1.117.0 **Patches** This issue has been addressed in amazon-braket-sdk version 1.117.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. **Workarounds** If users cannot upgrade immediately: 1. Restrict S3 bucket policies on the Braket job output buckets to enforce least-privilege access, ensuring only trusted principals have s3:PutObject permissions. This limits an an actor's ability to plant an executable payload. 2. Validate the dataFormat field in job result metadata before calling job.result(). Refuse to process results where the format is pickled_v4 if it did not explicitly configure pickle serialization. **References** If users have any questions or comments about this advisory, amazon-braket-sdk asks that users contact AWS Security via the [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.

CVE-2026-9291 Affected Amazon braket sdk Versions

1 component(s)
Fixed Versions:
1.117.0
Product / Package Ecosystem Affected Versions Fixed Version
amazon-braket-sdk
PyPI
≥ 1.10.0
< 1.117.0
1.117.0

References

Frequently Asked Questions

What is CVE-2026-9291?
CVE-2026-9291 is a security vulnerability in Amazon braket sdk involving amazon-braket-sdk vulnerable to Insecure Deserialization via pickle.loads() under CWE-502: Deserialization of Untrusted Data.
Which Amazon braket sdk versions are affected?
Affected versions include releases prior to 1.117.0 across affected packages: amazon-braket-sdk.
What version fixes CVE-2026-9291?
Upgrading to 1.117.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is amazon-braket-sdk affected?
Yes, amazon-braket-sdk is affected in releases prior to 1.117.0. Upgrade your dependency to 1.117.0 or later.
What is the CVSS score of CVE-2026-9291?
CVE-2026-9291 has a CVSS v3.1 base score of 7.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-9291?
CVE-2026-9291 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check PyPI dependencies for CVE-2026-9291?
Run the dependency tree command: 'pip show amazon-braket-sdk'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g697-2xrc-gc46",
  "modified" : "2026-06-25T18:34:18Z",
  "published" : "2026-06-25T18:34:18Z",
  "aliases" : [ "CVE-2026-9291" ],
  "summary" : "amazon-braket-sdk vulnerable to Insecure Deserialization via pickle.loads()",
  "details" : "**Summary**\nAmazon Braket SDK is an open-source Python library for interacting with the Amazon Braket quantum computing service, including managing hybrid quantum jobs and retrieving job results. An issue exists where, under certain circumstances, a remote authenticated user with S3 write access to a Braket job output bucket can achieve arbitrary code execution by exploiting insecure deserialization in the job results processing component.\n\n**Impact**\nThe SDK's deserialize_values() function reads the dataFormat field directly from the job results JSON file without validation. An actor with write access to the victim's S3 job output bucket can modify the dataFormat field in results.json from PLAINTEXT to pickled_v4 and replace dataDictionary values with base64-encoded executable payloads. When the victim calls job.result(), load_job_result(), or load_job_checkpoint() as part of their normal Braket workflow, the SDK calls pickle.loads() on the actor-controlled data, executing arbitrary code with the victim's permissions.\n\n**Impacted versions**: >= v1.10.0 AND < 1.117.0\n\n**Patches**\nThis issue has been addressed in amazon-braket-sdk version 1.117.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.\n\n**Workarounds**\nIf users cannot upgrade immediately:\n\n1. Restrict S3 bucket policies on the Braket job output buckets to enforce least-privilege access, ensuring only trusted principals have s3:PutObject permissions. This limits an an actor's ability to plant an executable payload.\n2. Validate the dataFormat field in job result metadata before calling job.result(). Refuse to process results where the format is pickled_v4 if it did not explicitly configure pickle serialization.\n\n**References**\nIf users have any questions or comments about this advisory, amazon-braket-sdk asks that users contact AWS Security via the [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting) or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "amazon-braket-sdk"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.10.0"
      }, {
        "fixed" : "1.117.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/amazon-braket/amazon-braket-sdk-python/security/advisories/GHSA-g697-2xrc-gc46"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-9291"
  }, {
    "type" : "WEB",
    "url" : "https://aws.amazon.com/security/security-bulletins/2026-036-aws"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/amazon-braket/amazon-braket-sdk-python"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/amazon-braket/amazon-braket-sdk-python/releases/tag/v1.117.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-25T18:34:18Z",
    "nvd_published_at" : "2026-05-22T19:17:05Z"
  }
}