CVE-2026-19060

MetaGPT generated code could retain attacker-supplied unsafe behavior

FoundationAgents · MetaGPT

First documented disclosure · Review checkpoint

Summary

Two linked researcher reports describe unsafe SQL generation and debug code writing host/environment data into a local artifact.

Severity and exploitation evidence

Medium · 4.8/10 · CVSS 4.0. Severity source.

Exploitation not established: Controlled researcher report only. No malicious deployment, affected victim or in-the-wild exploitation is established by these sources.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

Attacker-influenced coding requirements or project guidance enter generated files; consequences depend on those files being accepted or executed.

Conditions required

Attacker influences coding requirements/project guidance and generated files are materialized or run.

Potential impact

Potential downstream SQL weakness or local disclosure through generated debug code. Production authentication bypass, remote theft and supply-chain compromise were not observed.

Affected versions and configurations

CNA enumerates 0.8.0–0.8.2, while the original researcher tests identify source version 1.0.0. The affected-release boundary is unresolved.

Fix and mitigation status

Unknown; no released issue-specific correction established by the reviewed originals or CNA.

Practical next steps

Inspect and constrain generated code, remove debug secret handling, require parameterized SQL and isolate execution. No released correction was established.

Operating lesson

Code generation and execution need separate controls and separately stated evidence.

Evidence and limits

The original gist is labeled Secret and Last active June 20 with two revisions; that is not evidence of its first public availability. The August CNA publication is the earliest verified public reference in this review and supplies the qualified disclosure/source date. Do not turn illustrative downstream authentication bypass or supply-chain impact into observed production compromise. Version conflict and no released fix. Severity is VulDB CNA CVSS 4.0, not an independent reassessment. AgentLens references this report as part of its research corpus; that does not make it a separate victim incident.

Related records can include laboratory demonstrations; a relationship does not itself establish exploitation.

Sources