SQL injectionin Agenta-AI agenta.
Proof of concept public (GitHub).
Agenta is an open-source LLMOps platform. Prior to 0.122.5, the full-text content filter accepted by POST /api/spans/query passes a user-supplied search term through api/oss/src/dbs/postgres/tracing/utils.py in _handle_fts_field without parameter binding or escaping, allowing an authenticated user who can view spans in one project to alter a query against the tracing database. The attacker can use blind boolean or timing conditions to read traces and spans from every project and tenant, while the separate database containing users, API keys, and secrets is not reachable through this query. This issue is fixed in version 0.122.5.
- Upgrade agenta to 0.122.5 or later.
- Upgrade agenta (PyPI) to 0.122.5 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 2 Dec 2026CVE ID reserved by GitHub_M.
- 3 Dec 2026Published in the CVE List.
- 4 Dec 2026First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other agenta vulnerabilities
Same weakness: SQL injection
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
Patchminder. CVE-2026-142652: SQL injection in Agenta-AI agenta. https://patchminder.com/cve/cve-2026-142652/ (accessed 5 December 2026).