Agenta: SQL injection in tracing full-text content filter
- CVE-2026-142652
- GHSA-96p7-33vc-xgf2
- EUVD-2026-143493
Summary
Agenta, an open-source LLMOps platform, has a SQL injection flaw in versions before 0.122.5. The full-text content filter accepted by the POST /api/spans/query endpoint passes a user-supplied search term into a query without parameter binding or escaping. An authenticated user who can view spans in one project can alter the database query. Using blind boolean or timing techniques, the attacker can read traces and spans from every project and tenant. The record states that the separate database holding users, API keys, and secrets is not reachable through this query. The CVSS score is 7.7. The issue is fixed in version 0.122.5, and the record does not list it as known exploited.
AI summary · verify against the vendor advisory
Description
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Agenta-AI agenta
Affected versions Fixed in < 0.122.5 none stated agentaPyPI
Affected versions Fixed in up to 0.122.4 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.