Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-50050: Deserialization of Untrusted Data (CWE-502) in Meta Platforms, Inc Llama Stack

0
Medium
VulnerabilityCVE-2024-50050cvecve-2024-50050cwe-502
Published: Wed Oct 23 2024 (10/23/2024, 13:35:17 UTC)
Source: CVE Database V5
Vendor/Project: Meta Platforms, Inc
Product: Llama Stack

Description

Llama Stack prior to revision 7a8aa775e5a267cf8660d83140011a0b7f91e005 used pickle as a serialization format for socket communication, potentially allowing for remote code execution. Socket communication has been changed to use JSON instead.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 22:36:48 UTC

Technical Analysis

CVE-2024-50050 is a deserialization vulnerability classified under CWE-502 affecting Meta Platforms, Inc's Llama Stack prior to the revision 7a8aa775e5a267cf8660d83140011a0b7f91e005. The root cause is the use of Python's pickle module for serializing data transmitted over sockets. Pickle is inherently unsafe when handling untrusted input because it can instantiate arbitrary objects and execute arbitrary code during deserialization. An attacker with network access and low privileges could send crafted pickle data to the vulnerable Llama Stack instance, triggering remote code execution. This could lead to unauthorized code running with the privileges of the Llama Stack process, potentially compromising confidentiality, integrity, and availability of the system. The vulnerability does not require user interaction but does require network access and low privileges, making it moderately easy to exploit in exposed environments. Meta addressed the issue by replacing pickle serialization with JSON, a safer format that does not allow arbitrary code execution during deserialization. No public exploits or active attacks have been reported yet. The CVSS v3.1 base score is 6.3, reflecting medium severity due to network attack vector, low attack complexity, and partial impact on confidentiality, integrity, and availability.

Potential Impact

The vulnerability enables remote code execution on systems running vulnerable versions of Llama Stack, potentially allowing attackers to execute arbitrary commands with the privileges of the Llama Stack process. This can lead to data leakage, unauthorized data modification, service disruption, or full system compromise depending on the deployment context. Organizations using Llama Stack in production, especially in AI or ML workloads, risk exposure of sensitive data and operational disruption. Since the attack requires network access but no user interaction, exposed services or internal networks with insufficient segmentation are at risk. The medium severity score reflects that while the vulnerability is serious, exploitation requires some level of access and privileges, limiting its impact compared to more critical remote code execution flaws. However, if exploited, the consequences could be severe, including loss of data integrity and availability, and potential lateral movement within networks.

Mitigation Recommendations

Organizations should immediately update Llama Stack to the fixed revision 7a8aa775e5a267cf8660d83140011a0b7f91e005 or later, which replaces pickle serialization with JSON for socket communication. If immediate patching is not possible, restrict network access to Llama Stack services to trusted hosts only and implement strict firewall rules and network segmentation to minimize exposure. Conduct code audits to ensure no other components use unsafe deserialization methods like pickle with untrusted data. Employ runtime application self-protection (RASP) or endpoint detection and response (EDR) tools to monitor for suspicious deserialization activity. Additionally, enforce the principle of least privilege for the Llama Stack process to limit the impact of potential exploitation. Regularly review and update dependency and serialization practices to avoid similar vulnerabilities in the future.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
facebook
Date Reserved
2024-10-21T15:18:52.624Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6b99b7ef31ef0b557172

Added to database: 2/25/2026, 9:37:29 PM

Last enriched: 2/27/2026, 10:36:48 PM

Last updated: 4/11/2026, 10:14:05 PM

Views: 26

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses