{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138207",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2026-11-28T07:27:21.287Z",
        "datePublished": "2026-11-29T08:15:16.340Z",
        "dateUpdated": "2026-12-02T18:03:41.726Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2026-11-29T08:15:16.340Z"
            },
            "title": "letta-ai letta-code Permission Loader loader.ts loadPermissions incorrect control flow scoping",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-705",
                            "lang": "en",
                            "description": "Incorrect Control Flow Scoping"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "letta-ai",
                    "product": "letta-code",
                    "versions": [
                        {
                            "version": "0.34.0",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.1",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.2",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.3",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.4",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.5",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.6",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.7",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.8",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.9",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.10",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.11",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.12",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.13",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.14",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.15",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.16",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.17",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.18",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.19",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.20",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.21",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.22",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.23",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.24",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.25",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.26",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.27",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.28",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.29",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.30",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.31",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.32",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.33",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.34",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.35",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.36",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.37",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.38",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.39",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.40",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.41",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.42",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.43",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.44",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.45",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.46",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.47",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.48",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.49",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.50",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.51",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.52",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.53",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.54",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.55",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.56",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.57",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.58",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.59",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.60",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.61",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.62",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.63",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.64",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.65",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.66",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.67",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.68",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.69",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.70",
                            "status": "affected"
                        },
                        {
                            "version": "0.34.71",
                            "status": "affected"
                        }
                    ],
                    "cpes": [
                        "cpe:2.3:a:letta-ai:letta-code:*:*:*:*:*:*:*:*"
                    ],
                    "modules": [
                        "Permission Loader"
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A flaw has been found in letta-ai letta-code up to 0.34.71. This issue affects the function loadPermissions of the file src/permissions/loader.ts of the component Permission Loader. This manipulation causes incorrect control flow scoping. The attack needs to be launched locally. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance."
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "version": "4.0",
                        "baseScore": 4.8,
                        "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 3.3,
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C",
                        "baseSeverity": "LOW"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 3.3,
                        "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:P/RL:X/RC:C",
                        "baseSeverity": "LOW"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 1.7,
                        "vectorString": "AV:L/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:C"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2026-11-28T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2026-11-28T01:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2026-11-28T08:33:15.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "EM111 (VulDB User)",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "VulDB CNA Team",
                    "type": "coordinator"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/vuln/445076",
                    "name": "VDB-445076 | letta-ai letta-code Permission Loader loader.ts loadPermissions incorrect control flow scoping",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/vuln/445076/cti",
                    "name": "VDB-445076 | CTI Indicators (IOB, IOC, IOA)",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://vuldb.com/cve/CVE-2026-138207",
                    "name": "CVE-2026-138207 | CVE Analysis and Report",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://vuldb.com/submit/1070489",
                    "name": "Submit #1070489 | Letta Letta Code 0.34.38 Improper Authorization",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://github.com/letta-ai/letta-code/issues/5462",
                    "tags": [
                        "exploit",
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/letta-ai/letta-code/pull/5489",
                    "tags": [
                        "issue-tracking",
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/letta-ai/letta-code/",
                    "tags": [
                        "product"
                    ]
                }
            ],
            "x_generator": [
                "VulDB PVTS v202611"
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-02T18:03:31.490682Z",
                                "id": "CVE-2026-138207",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-02T18:03:41.726Z"
                }
            }
        ]
    }
}