Case · DiggingBeagle record

Letta local tools inherit the server credential environment

Scope

Local execution with sensitive credentials present in the inherited environment.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
mitigation available
AI role
AGAINST AI
Basis and provenance

CLM-LETTA-TOOL-ENVIRONMENT reports: The detailed CVE-2026-77938 analysis reports that LocalSandbox copies the server environment into user-supplied tool subprocesses, exposing database and configured model-provider credentials. Source SRC-2026-RADAR-LETTA-TOOL-ENVIRONMENT is located at 'Affected Files, Root Cause, PoC and Impact; tool_sandbox/base.py and local_sandbox.py'. The distinctive mechanism begins: Letta's local tool subprocess was launched with a copy of the parent server's environment. Classification: setting=research_demonstration, exploit_status=demonstrated, evidence_grade=B on the bounded original investigator/vendor or paper evidence, without independent dynamic replication. remediation_status=mitigation_available; scoped control or limit: Pass a minimal explicit subprocess environment, run untrusted tools in a separate sandbox with restricted networking, and ensure database secrets are not present in the tool process. Merely masking keys from model prompts leaves os.environ available to executable code. The null impact band avoids an ungrounded cross-Case severity rating; observed damage, targeted population and controlled test outcomes cannot be exchanged as the same quantity. Where a patch is described, its availability is separate from independently tested effectiveness.

Assessed Oct 23, 2026 using diggingbeagle.assessment/1.

At a glance

Claims & evidence

CLM-LETTA-TOOL-ENVIRONMENTThe detailed CVE-2026-77938 analysis reports that LocalSandbox copies the server environment into user-supplied tool subprocesses, exposing database and configured model-provider credentials.supported

Basis: reported finding

Link to claim

Controls and mitigations

  • Pass a minimal explicit subprocess environment, run untrusted tools in a separate sandbox with restricted networking, and ensure database secrets are not present in the tool process. Merely masking keys from model prompts leaves os.environ available to executable code.

Unknowns and contradictions

  • No independent reproduction or verified fixed release; remote sandbox modes are not assessed.

Sources and citation

Material revision history

  1. Oct 23, 2026 · Canonical change recorded · new in release · revision 183