{"answers":{"affected":"3 open source packages ship an affected version, including bedrock-agentcore.","exploited":"There is no known exploitation of CVE-2026-12530 in the wild and no public exploit code.","fix":"Upgrade bedrock-agentcore to 1.6.1 or later.","what":"CVE-2026-12530 is a high-severity command injection vulnerability in AWS bedrock-agentcore, published on 17 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-12530 and fix it if it is affected.\n\nWhat it is: CVE-2026-12530 is a high-severity command injection vulnerability in AWS bedrock-agentcore, published on 17 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-12530 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- bedrock-agentcore (PyPI): affected from 1.1.3; fixed in 1.6.1\n- bedrock-agentcore (PyPI): affected from 1.1.3; fixed in 1.6.1\n- bedrock-agentcore (PyPI): affected from 1.1.3; fixed in 1.6.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-12530/ (Markdown: https://insights.sbomify.com/CVE-2026-12530/index.md)","id":"CVE-2026-12530","markdown":"https://insights.sbomify.com/CVE-2026-12530/index.md","name":"CVE-2026-12530","record":{"aliases":["GHSA-6rfw-mq36-jm8h","PYSEC-2026-2395"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"AWS Bedrock SDK","requires_auth":"low_privilege","summary":"Remote authenticated users can execute arbitrary commands in the Code Interpreter sandbox via crafted package names in the AWS Bedrock AgentCore Python SDK.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AMZN","cpe":[],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"}],"description":"Improper neutralization of argument delimiters in the install_packages() method in AWS Bedrock AgentCore Python SDK versions \u003e= 1.1.3 and \u003c 1.6.1 might allow a remote authenticated user to execute arbitrary commands within the Code Interpreter sandbox via crafted package name arguments.\n\nTo mitigate this issue, users should upgrade to version 1.6.1.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper neutralization of argument delimiters in AWS Bedrock AgentCore Python SDK install_packages()","id":"CVE-2026-12530","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"Formatter Field - Critical - PHP object injection - SA-CONTRIB-2026-048","id":"CVE-2026-12535"},"packages":[{"ecosystem":"PyPI","fixed":["1.6.1"],"introduced":["1.1.3"],"last_affected":[],"package":"bedrock-agentcore","purl":null,"source":"GHSA-6rfw-mq36-jm8h"},{"ecosystem":"PyPI","fixed":["1.6.1"],"introduced":["1.1.3"],"last_affected":[],"package":"bedrock-agentcore","purl":"pkg:pypi/bedrock-agentcore","source":"GHSA-6rfw-mq36-jm8h"},{"ecosystem":"PyPI","fixed":["1.6.1"],"introduced":["1.1.3"],"last_affected":[],"package":"bedrock-agentcore","purl":"pkg:pypi/bedrock-agentcore","source":"PYSEC-2026-2395"}],"prev":{"headline":"Missing authorization in CET Automated Grading System with AI Predictive Analytics","id":"CVE-2026-12529"},"products":["bedrock-agentcore"],"published":"2026-06-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-23","vendors":["AWS"]},"summary":"Remote authenticated users can execute arbitrary commands in the Code Interpreter sandbox via crafted package names in the AWS Bedrock AgentCore Python SDK.","url":"https://insights.sbomify.com/CVE-2026-12530/"}