Agenta: SQL injection in tracing full-text content filter
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
Prior to 0.122.5, Agenta, an open-source LLMOps platform, passes the search term of the full-text content filter in POST /api/spans/query to _handle_fts_field in api/oss/src/dbs/postgres/tracing/utils.py without parameter binding or escaping. An authenticated user who can view spans in one project can alter a query against the tracing database. Using blind boolean or timing conditions, the attacker can read traces and spans from every project and tenant. The separate database holding users, API keys, and secrets is not reachable through this query.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Agenta-AI | agenta | before 0.122.5 | 0.122.5 | Patch available | CNA |
| — | agenta (PyPI) | before 0.122.5 | 0.122.5 | Patch available | GHSA-96p7-33vc-xgf2 |
- agenta VendorAgenta-AI Affected before 0.122.5 Fixed in 0.122.5 Patch available CNA
- agenta (PyPI) Vendor— Affected before 0.122.5 Fixed in 0.122.5 Patch available GHSA-96p7-33vc-xgf2
Remediation
Upgrade Agenta to version 0.122.5, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
- Fix · CNA agenta (Agenta-AI) Fixed in 0.122.5
- Fix · GHSA-96p7-33vc-xgf2 agenta (PyPI) Fixed in 0.122.5 Advisory →
Timeline
- 2026-12-03 Threatist record created from CVE-2026-142652
- 2026-12-03 Alias added: GHSA-96p7-33vc-xgf2
- 2026-12-03 Fix available: PyPI/[email protected] · GHSA-96p7-33vc-xgf2
- 2026-12-03 CVSS score added · GHSA-96p7-33vc-xgf2
- 2026-12-03 Weakness changed · GHSA-96p7-33vc-xgf2
- 2026-12-03 5 new references · GHSA-96p7-33vc-xgf2
References
Other 5
More Agenta-AI vulnerabilities
- TI-2026-85966 Server-side request forgery in Agenta lets members steal secret tokens CVSS 4.0HIGH 8.4
Sources
- CVE-2026-142652 · CVE Program
- CVE-2026-142652 · NVD
- GHSA-96p7-33vc-xgf2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences