Documented Incident · INC-2024-2912 · Critical severity

BentoML Unauthenticated HTTP POST Pickle Deserialization Remote Code Execution

CVE-2024-2912 (published April 15, 2024) disclosed an unauthenticated remote code execution vulnerability in the BentoML model-serving framework's HTTP inference runner. By sending a crafted HTTP POST request with a `Content-Type: application/vnd.bentoml+pickle` header to exposed inference endpoints, remote attackers induced the server to deserialize untrusted bytes via Python's `pickle`. Exposed BentoML prediction services granted full OS command execution and access to hosted model artifacts and cloud roles. BentoML patched default serialization handling to reject untrusted pickle payloads over public inference routes.

Incident dossier metadata

Case ID
INC-2024-2912
Classification
Incident
Date
Severity
Critical
Sector
Cloud & AI Infrastructure
Attack vector
Exposed Infrastructure
System type
ML Model Serving & API Packaging Frameworks
CVE / reference
CVE-2024-2912
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-2912

Inspect INC-2024-2912 in Interactive Incidents & Cases Hub

Defensive takeaway

Disable pickle content-types on HTTP inference APIs entirely, use JSON/Protobuf schemas for model I/O, and upgrade BentoML past patched releases.

Mapped AI security techniques

Mapped defensive controls

Source citation records