Vulnérabilité dans Amazon bedrock-agentcore (CVE-2026-16796)
Résumé
Vulnérabilité dans Amazon bedrock-agentcore (CVE-2026-16796). Des informations confidentielles peuvent être exposées. Atténuation : mise à jour vers 1.18.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) provides tools for building AI agents, including a Code Interpreter client that installs Python packages into a managed sandbox. An issue exists where, under certain circumstances, improper neutralization of argument delimiters in the install_packages() method allows a remote authenticated user to execute arbitrary commands within the Code Interpreter sandbox via crafted package name arguments.
Impact
Insufficient input validation in install_packages() allows specially crafted package specifiers to bypass validation and achieve arbitrary command execution within the sandbox. A remote authenticated user who can influence the arguments to install_packages() can execute arbitrary commands within the Code Interpreter sandbox environment.
Impacted Versions
< 1.18.1
Patches
This issue has been addressed in bedrock-agentcore version 1.18.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 not able to upgrade, do not pass untrusted or model-generated input to install_packages(). Applications that must accept dynamic package names should validate them against strict PyPI naming rules -- including constraining any extras group to comma-separated identifiers -- before calling the SDK.
References
If you have any questions or comments about this advisory, AWS asks that you contact AWS Security…
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-16796 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.18.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « Amazon bedrock-agentcore CVE-2026-16796 » sur le site de l'éditeur.
CVE-2026-16796 (Amazon bedrock-agentcore) — CWE-88 / CVSS v3 7.3
Vecteur d'attaque : distant (réseau)
Correctif : 1.18.1 — appliquer immédiatement
Contournement : If you are not able to upgrade, do not pass untrusted or model-generated input 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.18.1.
Contournement : If you are not able to upgrade, do not pass untrusted or model-generated input 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 not able to upgrade, do not pass untrusted or model-generated input to install_packages().パッチが適用されるまでの応急処置として、If you are not able to upgrade, do not pass untrusted or model-generated input to install_packages(). を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade Amazon bedrock-agentcore to 1.18.1ステージング環境で 1.18.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- advisory github.com
- AWS aws.amazon.com
- package github.com
- package pypi.org
- web aws.amazon.com
- web github.com
- web pypi.org
- web github.com
- web github.com
- web aws.amazon.com
- web pypi.org