CVE-2026-4965 letta-ai letta Incomplete Fix CVE-2025-6101 ast_parsers.py resolve_type eval injection

Medium 6.9 Published Updated

Remote attackers can execute arbitrary code via improper neutralization in the resolve_type function of the letta library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-4965?

CVE-2026-4965 is a medium-severity code injection vulnerability in letta-ai letta, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-95, CWE-94

Which versions are affected by CVE-2026-4965?

It affects 1 product.

Products include Letta Letta.

How do I fix CVE-2026-4965?

No fix has been published for CVE-2026-4965 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-4965 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4965 exists.

Sources

Also known as GHSA-wmhq-7qrq-wwwj.

Is CVE-2026-4965 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free