patchminder
Proof of concept · GitHub CVE-2026-142652

SQL injectionin Agenta-AI agenta.

Published 3 Dec 2026 · Updated 3 Dec 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.7
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.9% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 0.122.5 or later
In plain words

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.

What to do now
  • Upgrade agenta to 0.122.5 or later.
  • Upgrade agenta (PyPI) to 0.122.5 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
agenta
before 0.122.5
0.122.5
CVE record
agenta (PyPI)
before 0.122.5
0.122.5
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 2 Dec 2026
    CVE ID reserved by GitHub_M.
  2. 3 Dec 2026
    Published in the CVE List.
  3. 4 Dec 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgooglesky/CVE-2026-1426520 stars · created 4 Dec 2026Agenta span full-text SQL injection (CVE-2026-142652, HIGH): the content filter inserts the search term into SQL text, enabling blind cross-tenant tracing reads. Real SQLAlchemy differential: vuln SQL

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.

Related

Other agenta vulnerabilities

Same weakness: SQL injection

All CWE-89 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-142652: SQL injection in Agenta-AI agenta. https://patchminder.com/cve/cve-2026-142652/ (accessed 5 December 2026).