CVE-2026-142652 — Agenta-AI agenta
Summary
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.
Severity breakdown
High · 7.7
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, a normal user account
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- high on confidentiality, none on integrity and availability
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| agenta (PyPI) | ≤ 0.122.4 | 0.122.5 |
| Agenta-AI agenta | < 0.122.5 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/Agenta-AI/agenta/commit/345d6d3e22bc0ece92ebefdf11d8e453c658…
- github.com/Agenta-AI/agenta/pull/7529
- github.com/Agenta-AI/agenta/releases/tag/v0.122.5
Other references
Affected
- Agenta-AI agenta
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142652?
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 handleftsfield without parameter binding or escaping, allowing an authenticated user who can view spans in one project to alter a query against the tracing database. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).
How severe is CVE-2026-142652?
CVE-2026-142652 has a CVSS 3.1 base score of 7.7 (high), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-142652 being exploited?
Not as far as is known: CVE-2026-142652 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026.
Which versions are affected by CVE-2026-142652?
agenta (PyPI) ≤ 0.122.4 (fixed in 0.122.5); Agenta-AI agenta < 0.122.5.
How do I fix CVE-2026-142652?
Update to a fixed release: agenta (PyPI) 0.122.5.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-59417 — Spring AI
- CVE-2026-59361 — Spring AI
- CERT-In Warns of High-Severity SQL Injection Flaw in DIGIT e-Governance Platform
- Budibase 4.0.0 Patches 12 CVEs, Including Two Unauthenticated Flaws
- CVE-2026-135641 — wpjobportal WP Job Portal – AI-Powered Recruitment System for Company or Job Board website