Vulnérabilité dans Amazon bedrock-agentcore (CVE-2026-12530)
Résumé
Vulnérabilité dans Amazon bedrock-agentcore (CVE-2026-12530). Des informations confidentielles peuvent être exposées. Atténuation : mise à jour vers 1.6.1 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
The AWS Bedrock AgentCore Python SDK (bedrock-agentcore) is an open-source SDK that enables developers to build, deploy, and manage agents on AWS Bedrock AgentCore. An issue exists in the install_packages() method of the Code Interpreter client where crafted package name arguments can bypass input validation and allow a remote authenticated user to execute arbitrary commands within the Code Interpreter sandbox.
Impact
The install_packages() method constructs a 'pip install' shell command executed within the Code Interpreter sandbox using package name arguments provided by the caller. The method applied an incomplete blocklist that allowed crafted package name arguments - specifically pip flags such as '--index-url' and '-r' - to pass validation unchecked. A remote authenticated user who can influence the arguments passed to install_packages() could redirect package resolution to a third-party-controlled PyPI server, or expose the contents of arbitrary sandbox files and environment variables.
Impacted versions: AWS Bedrock AgentCore Python SDK (bedrock-agentcore) versions >= 1.1.3 and < 1.6.1
Patches
This issue has been addressed in bedrock-agentcore version 1.6.1. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.
Workarounds
If you are unable to upgrade immediately, avoid passing any user-supplied or externally-influenced strings directly to install_packages(). Rest…
Source: AWS Security Bulletins NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-12530 a été découverte dans Amazon bedrock-agentcore.
Des informations confidentielles peuvent être exposées. Score CVSS : 7.3/10.
Action : mettez à jour Amazon bedrock-agentcore vers 1.6.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « Amazon bedrock-agentcore CVE-2026-12530 » sur le site de l'éditeur.
CVE-2026-12530 (Amazon bedrock-agentcore) — CWE-88 / CVSS v3 7.3
Vecteur d'attaque : distant (réseau)
Correctif : 1.6.1 — appliquer immédiatement
Contournement : If you are unable to upgrade immediately, avoid passing any user-supplied or externally-influenced strings directly to install_packages().
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-88) affecte Amazon bedrock-agentcore.
Consultez l'avis de l'éditeur pour les versions affectées de Amazon bedrock-agentcore.
Gravité : Élevée (CVSS 7.3/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 1.6.1.
Contournement : If you are unable to upgrade immediately, avoid passing any user-supplied or externally-influenced strings directly to install_packages().
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'bedrock-agentcore' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
bedrock-agentcoreを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
If you are unable to upgrade immediately, avoid passing any user-supplied or externally-influenced strings directly to install_packages().パッチが適用されるまでの応急処置として、If you are unable to upgrade immediately, avoid passing any user-supplied or externally-influenced strings directly to install_packages(). を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade Amazon bedrock-agentcore to 1.6.1ステージング環境で 1.6.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- AWS aws.amazon.com
- package github.com
- web aws.amazon.com
- web pypi.org
- web github.com
- web aws.amazon.com
- web pypi.org
- web github.com