CVE-2026-142652: Agenta: SQL injection in tracing full-text content filter

Published Dec 3, 2026
·
Updated

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. 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 Software

1 affected component
Agenta Agenta<0.122.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.122.5

Event History

Dec 3, 2026
CVE Published
via MITRE·04:35 PM
Data Sourced
via MITRE·04:35 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user who has permission to view spans in any one project can exploit the vulnerable full-text content filter. No user interaction is required, and the vulnerable endpoint is POST /api/spans/query.

2

What data could an attacker access?

An attacker can use blind boolean or timing-based SQL injection conditions to read traces and spans across every project and tenant in the tracing database. The separate database holding users, API keys, and secrets is not reachable through this query.

3

Which versions are affected and what is the fix?

Agenta versions prior to 0.122.5 are affected. Upgrade to version 0.122.5, which fixes the handling of the full-text content filter.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203