The vulnerability is a classic insecure deserialization issue within the amazon-braket-sdk. The root cause lies in the braket.jobs.serialization.deserialize_values function, which used Python's pickle.loads() to deserialize job result data. The SDK would use this function if the dataFormat field in the results.json file was set to pickled_v4. An attacker with write permissions to the S3 bucket where job results are stored could modify this JSON file, setting the dataFormat and providing a base64-encoded malicious pickle object as the data. When a user or automated process later attempts to retrieve these results via the SDK by calling functions like job.result(), load_job_result(), or load_job_checkpoint(), the malicious object would be deserialized, leading to arbitrary code execution with the privileges of the process running the SDK. The patch mitigates this by disabling pickle deserialization by default. A new allow_pickle=False parameter was introduced to deserialize_values and all calling functions. The SDK now raises a RuntimeError if it encounters pickled data unless the user explicitly opts in by setting allow_pickle=True, thus preventing the exploit by default.