Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-4965

CVE-2026-4965: Letta-AI Letta RCE Vulnerability

CVE-2026-4965 is a remote code execution flaw in letta-ai letta 0.16.4 affecting the resolve_type function. This incomplete fix for CVE-2025-6101 allows attackers to execute arbitrary code. Learn the technical details, impact, and mitigation.

Published: April 2, 2026

CVE-2026-4965 Overview

A code injection vulnerability has been identified in letta-ai letta version 0.16.4. This vulnerability affects the resolve_type function within the file letta/functions/ast_parsers.py and represents an incomplete fix for CVE-2025-6101. The flaw allows for improper neutralization of directives in dynamically evaluated code (CWE-94), enabling attackers to potentially execute arbitrary code through crafted inputs.

Critical Impact

Remote attackers can exploit this vulnerability to inject and execute malicious code through the improperly sanitized AST parser function, potentially leading to unauthorized system access, data manipulation, or service disruption.

Affected Products

  • letta-ai letta version 0.16.4
  • Potentially earlier versions with the incomplete CVE-2025-6101 fix

Discovery Timeline

  • 2026-03-27 - CVE-2026-4965 published to NVD
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2026-4965

Vulnerability Analysis

This vulnerability stems from an incomplete remediation of CVE-2025-6101 in the letta-ai letta project. The resolve_type function in letta/functions/ast_parsers.py fails to properly neutralize malicious directives when dynamically evaluating code. This allows an attacker to craft inputs that bypass the security measures implemented in the previous patch, resulting in code injection.

The attack can be initiated remotely without requiring authentication, making it accessible to unauthenticated attackers across the network. Successful exploitation could result in limited impacts to confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and sanitization within the resolve_type function. When the original CVE-2025-6101 was patched, the fix did not adequately address all potential attack vectors for code injection through dynamic code evaluation. The incomplete sanitization allows specially crafted input to bypass the implemented security controls and execute arbitrary code within the application context.

Attack Vector

The attack vector for CVE-2026-4965 is network-based, meaning exploitation can occur remotely without physical access to the target system. An attacker can exploit this vulnerability by:

  1. Identifying an exposed letta-ai letta instance running version 0.16.4 or earlier
  2. Crafting malicious input that targets the resolve_type function
  3. Submitting the crafted payload through the network interface
  4. The improperly sanitized input is processed by the AST parser
  5. The malicious directives are evaluated, resulting in code execution

A proof-of-concept exploit has been publicly disclosed. Technical details are available in the GitHub Gist PoC and VulDB entry. Note that the vendor was contacted about this vulnerability but did not respond.

Detection Methods for CVE-2026-4965

Indicators of Compromise

  • Unusual or unexpected code execution patterns originating from the letta application
  • Log entries showing malformed or suspicious inputs to the resolve_type function
  • Anomalous network traffic patterns targeting letta-ai endpoints
  • Process spawning or system calls initiated from the letta application context

Detection Strategies

  • Monitor application logs for suspicious input patterns targeting AST parsing functions
  • Implement network intrusion detection rules to identify exploit attempts
  • Deploy web application firewall (WAF) rules to filter malicious payloads
  • Use SentinelOne's behavioral AI to detect anomalous code execution patterns

Monitoring Recommendations

  • Enable verbose logging for the letta-ai application, particularly for the ast_parsers.py module
  • Set up alerts for any unexpected process creation from the letta application
  • Monitor for outbound network connections from the application that may indicate successful exploitation
  • Implement file integrity monitoring on critical application files

How to Mitigate CVE-2026-4965

Immediate Actions Required

  • Assess whether letta-ai letta version 0.16.4 is deployed in your environment
  • Implement network-level access controls to restrict exposure of affected instances
  • Apply input validation at the network perimeter using WAF rules
  • Monitor for exploitation attempts while awaiting a vendor patch

Patch Information

At the time of this advisory, the vendor (letta-ai) has not responded to disclosure communications and no official patch is available. Organizations using letta-ai letta should:

  1. Monitor the official letta-ai repository for security updates
  2. Review the VulDB advisory for updated remediation guidance
  3. Consider temporary workarounds until an official fix is released

Workarounds

  • Restrict network access to letta-ai instances using firewall rules or network segmentation
  • Implement strict input validation at the application boundary before data reaches the resolve_type function
  • Consider disabling or restricting functionality that relies on the vulnerable AST parsing component
  • Deploy runtime application self-protection (RASP) solutions to detect and block exploitation attempts

Organizations should implement defense-in-depth strategies including network segmentation, strict access controls, and enhanced monitoring until an official patch becomes available from the vendor.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLetta Ai

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Gist PoC

  • VulDB #353842 Detail

  • VulDB #353842

  • VulDB Submission #777654
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English