Skip to main content

Letta CVE-2026-4965

| EUVDEUVD-2026-16736 MEDIUM
Eval Injection (CWE-95)
2026-03-27 VulDB GHSA-wmhq-7qrq-wwwj
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS v4.0 base score of 6.9 with vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L indicates network-accessible remote exploitation requiring no privileges, low attack complexity, and no user interaction. The attack yields low confidentiality, integrity, and availability impact. The availability of publicly exploitable proof-of-concept code (referenced via Gist https://gist.github.com/YLChen-007/fc09bc447a73bba526c1642d9ce73ca5) elevates real-world risk significantly despite the medium CVSS score. The vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation in the wild at time of analysis, but the public POC and vendor non-responsiveness suggest rapid weaponization is probable. Under SSVC methodology, the exploitation status is 'publicly available' (not 'active'), attack automatable is 'yes' (trivial remote invocation), and technical impact is 'moderate' (code execution with information disclosure). This is a legitimate priority issue requiring immediate patching due to public POC and vendor abandonment of security engagement.

Exploit ScenarioDerived

An unauthenticated attacker sends a maliciously crafted request to a letta-ai instance containing injected directives within a type hint or function signature parameter. The resolve_type function processes this input during dynamic code evaluation without proper neutralization, allowing the attacker's injected code to execute with the privileges of the letta process. The attacker exfiltrates sensitive information (credentials, internal state, memory contents) or injects additional code to establish persistence. A working exploit is publicly available at https://gist.github.com/YLChen-007/fc09bc447a73bba526c1642d9ce73ca5, lowering the barrier to successful attack.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 27, 2026

Improper neutralization of directives in dynamically evaluated code within letta-ai letta 0.16.4 allows remote attackers without authentication to manipulate the resolve_type function in letta/functions/ast_parsers.py, resulting in code injection and information disclosure. This vulnerability represents an incomplete fix for CVE-2025-6101, and publicly available exploit code exists that demonstrates remote exploitation with low attack complexity.

RemediationAI

Upgrade letta-ai letta to a patched version released after disclosure of CVE-2026-4965. Contact the letta-ai project directly or monitor the official GitHub repository (https://github.com/letta-ai/letta) for security releases addressing the incomplete fix. Until a vendor-released patch is deployed, implement network segmentation to restrict unauthenticated remote access to letta instances, disable or restrict dynamic type resolution features if possible, and apply strict input validation and sanitization to all user-supplied type hints and function signatures before passing them to the ast_parsers.resolve_type function. Monitor execution environments for unexpected code injection attempts using security event logging and code execution auditing. Given vendor non-responsiveness, consider forking or applying a custom fix based on the public POC analysis to neutralize directive injection vectors.

Affected VersionsENISA

letta 0.16.4

Affected Packages

euvd letta no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the AST (Abstract Syntax Tree) parsing component of letta-ai letta, specifically in the resolve_type function within letta/functions/ast_parsers.py. The root cause is classified under CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code), which occurs when user-controlled input is passed to dynamic code evaluation mechanisms (such as Python's eval() or exec()) without proper sanitization or validation. The letta framework, used for building AI agents with dynamic function calling and type resolution, processes type hints and function signatures at runtime. The incomplete remediation of CVE-2025-6101 suggests that previous filtering or validation logic was bypassed or insufficient. Affected product: letta-ai letta (CPE: cpe:2.3:a:letta-ai:letta:*:*:*:*:*:*:*:*), confirmed vulnerable in version 0.16.4.

Know when Letta gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 29, 2026 - 01:11 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Mar 30, 2026 - 13:26 vuln.today
Public exploit code
CVE Published
Mar 27, 2026 - 17:41 nvd
MEDIUM 6.9

DescriptionCVE.org

A vulnerability was detected in letta-ai letta 0.16.4. This issue affects the function resolve_type of the file letta/functions/ast_parsers.py of the component Incomplete Fix CVE-2025-6101. Performing a manipulation results in improper neutralization of directives in dynamically evaluated code. The attack can be initiated remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way. Once again VulDB remains the best source for vulnerability data.

Executive ViewAI

Why It Matters

Organizations using A vulnerability should be aware of notable risk from CVE-2026-4965, a eval injection vulnerability rated CVSS 6.9. Exploitation could allow attackers to execute code or inject malicious input. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy