Skip to main content
← All vulnerabilities
CVE-2024-2912PYSEC-2026-296GHSA-HVJ5-MVW9-93J3

Insecure Deserialization Leading to RCE in bentoml/bentoml

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.2.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

An insecure deserialization vulnerability exists in the BentoML framework, allowing remote code execution (RCE) by sending a specially crafted POST request. By exploiting this vulnerability, attackers can execute arbitrary commands on the server hosting the BentoML application. The vulnerability is triggered when a serialized object, crafted to execute OS commands upon deserialization, is sent to any valid BentoML endpoint. This issue poses a significant security risk, enabling attackers to compromise the server and potentially gain unauthorized access or control.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • bentoml bentoml/bentoml

    From 1.2.0 · through 1.2.4

  • bentomlPyPI

    fixed in 1.2.5

References 2

huntr.com

GitHub · bentoml/bentoml