Bug 2590286 (CVE-2026-142652)

Summary: CVE-2026-142652 agenta: agenta: Information disclosure via SQL injection in tracing search filter
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerability-draftAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in agenta. An authenticated user with permission to view project spans can submit specially crafted search queries to the tracing API. Because user-supplied search terms are processed without proper parameter binding or escaping, an attacker can manipulate database queries to perform SQL (Structured Query Language) injection. This issue allows the attacker to access sensitive tracing data and spans belonging to all projects and tenants across the system.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-12-03 17:46:14 UTC
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.