Agenta-AI Agenta
Agenta: SQL injection in tracing full-text content filter
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.122.5
Fixed in 0.122.5
Mitigation
Upgrade agenta to 0.122.5 or later.
References
- Vendor advisory github.com/Agenta-AI/agenta/security/advisorie…
- Patch github.com/Agenta-AI/agenta/pull/7529
- Patch github.com/Agenta-AI/agenta/commit/345d6d3e22b…
1 more
- Release notes github.com/Agenta-AI/agenta/releases/tag/v0.12…
Timeline
Days relative to CVE publicationFirst public PoC 12 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-142652 (created 4 Dec 2026, found by us: 4 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-142652 | 4 Dec 2026 +12 h | 4 Dec 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.