CVE-2024-39025: Letta (previously MemGPT) incorrect access control vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.31983%
CWE
Published
12/27/2024
Updated
1/2/2025
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| letta | pip | <= 0.3.17 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the GET /users endpoint implementation in users.py. The get_all_users function (lines 55-68 in the shown code) directly accesses user data through server.ms.get_all_users() without any authentication/authorization checks. This matches the CWE-863 description of missing authorization controls. The Medium article specifically calls out this endpoint's lack of access controls, and the code shows no middleware or decorators enforcing privileges. The high confidence comes from direct correlation between the advisory description, CWE classification, and the observed code implementation.