Read the docs

Agenta: SQL injection in tracing full-text content filter

Priority MEDIUM 49CWE-89Published · Updated

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

Fix Fixed agenta (Agenta-AI): 0.122.5agenta (PyPI): 0.122.5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Agenta-AIagentabefore 0.122.50.122.5Patch availableCNA
—agenta (PyPI)before 0.122.50.122.5Patch availableGHSA-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

  1. 2026-12-03 Threatist record created from CVE-2026-142652
  2. 2026-12-03 Alias added: GHSA-96p7-33vc-xgf2
  3. 2026-12-03 Fix available: PyPI/[email protected] · GHSA-96p7-33vc-xgf2
  4. 2026-12-03 CVSS score added · GHSA-96p7-33vc-xgf2
  5. 2026-12-03 Weakness changed · GHSA-96p7-33vc-xgf2
  6. 2026-12-03 5 new references · GHSA-96p7-33vc-xgf2

References

  • TI-2026-85966 Server-side request forgery in Agenta lets members steal secret tokens CVSS 4.0HIGH 8.4

Sources