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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
3DescriptionCVE.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
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.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Unauthenticated remote code execution and full administrative takeover affect Letta deployments through 0.16.8 that use
Cross-tenant impersonation in Letta through 0.16.8 allows an authenticated low-privileged API caller to read and modify
Authenticated users of Letta through 0.16.8 can read server secrets when the LocalSandbox tool backend is used, because
Server-side request forgery in letta-ai letta 0.16.4 allows authenticated remote attackers to manipulate ImageContent pa
EUVD-2026-16736
GHSA-wmhq-7qrq-wwwj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB