CVE-2025-51482 Code injection in n/a

High 8.8 Published Updated

Remote attackers can execute arbitrary Python code and system commands via crafted payloads to the tools endpoint, bypassing sandbox restrictions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-51482?

CVE-2025-51482 is a high-severity code injection vulnerability in n/a, published on 22 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Remote Code Execution in letta.server.rest_api.routers.v1.tools.run_tool_from_source in letta-ai Letta 0.7.12 allows remote attackers to execute arbitrary Python code and system commands via crafted payloads to the /v1/tools/run endpoint, bypassing intended sandbox restrictions.

Weakness: CWE-94

Which versions are affected by CVE-2025-51482?

It affects 1 product.

Products include Letta Letta.

How do I fix CVE-2025-51482?

No fix has been published for CVE-2025-51482 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-2025-51482 being exploited?

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

Public exploit code: 1 Nuclei template and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-2pgv-8585-494w.

Is CVE-2025-51482 in your software?

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

Check your SBOMs for free