POJIA破甲
地图 / Incomplete Input Sanitization in CodeInterpreter install_packages Allows Command Injection via pip Flags

Incomplete Input Sanitization in CodeInterpreter install_packages Allows Command Injection via pip Flags

代码执行 / 操作系统命令注入 / #3633123

厂商
AWS VDP
严重程度
中危 · CVSS 7.3
赏金
—
弱点
操作系统命令注入
研究员
@mistercloudsec
披露日期
2026-09-16
资产
Amazon Bedrock
CVE
CVE-2026-12530

该报告还没有中文解读。

原文摘录

摘自原文(6093 字符中的一小部分)
> NOTE! Thanks for submitting a report to Amazon Web Services! Please replace *all* the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to triage and respond quickly, so be sure to take your time filling out the report!
原文中的代码
# Sanitize package names (basic validation)
for pkg in packages:
    if any(char in pkg for char in [";", "&", "|", "`", "$"]):
        raise ValueError(f"Invalid characters in package name: {pkg}")

packages_str = " ".join(packages)
upgrade_flag = "--upgrade " if upgrade else ""
command = f"pip …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 AWS VDP 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @mistercloudsec · 版权归作者与 AWS VDP 所有

同类报告

Potential pre-auth RCE on Twitter VPNX / xAI · 2019-08-10 · $20,160Exposed Kubernetes API - RCE/Exposed CredsSnapchat · 2021-07-29 · $25,000Webshell via File Upload on ecjobs.starbucks.com.cnStarbucks · 2019-11-13🐞 OS Command Injection at https://sea-web.gold.razer.com/lab/ws-lookup via IP parameterRazer · — · $2,000RCE via github importGitLab · 2022-11-16RCE using bash command injection on /system/images (toimitilat.lahitapiola.fi)LocalTapiola · —