Where
-Infinity
0

Vendor Risk Score

See how agenta compares to other vendors in security performance

View Risk Score →
Severity
8.8
EPSS
0.06%
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Agenta is an open-source LLMOps platform. A Server-Side Template Injection (SSTI) vulnerability exists in versions prior to 0.86.8 in Agenta's API server evaluator template rendering. Although the vulnerable code lives in the SDK package, it is executed server-side within the API process when running evaluators. This does not affect standalone SDK usage — it only impacts self-hosted or managed Agenta platform deployments. Version 0.86.8 contains a fix for the issue.

First published (updated )
Severity
8.4
SSRF
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Agenta before 0.122.5 contains a server-side request forgery vulnerability that allows workspace members with workflow edit rights to redirect workflow invocations by setting arbitrary revision URLs. Attackers can capture the attached secret-resolve Authorization token to read provider secrets from the vault API, or reach internal and cloud metadata addresses.

First published (updated )
Severity
7.7
SQL Injection
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Impact

The full-text content filter used by the span query endpoint (POST /api/spans/query) inserted the user-supplied search term into the SQL query without parameter binding or escaping. A single quote in the search term ends the SQL string literal, and the rest of the term runs as SQL.

Any authenticated user who can view spans in their own project can send this filter. The query runs against the tracing database, so an attacker can read tracing data from every project and every tenant, including other tenants' traces and spans. The attacker reads the data blind, for example through boolean or timing conditions.

The tracing data is stored in a separate Postgres database. Users, API keys and secrets are stored in a different database, and this query cannot reach them.

Affected code

api/oss/src/dbs/postgres/tracing/utils.py, function handleftsfield.

Patches

The issue is fixed in version 0.122.5. The search term is now passed to websearchtotsquery as a bound query parameter. A regression test covers quoted and SQL-like search terms.

Workarounds

There is no workaround. Upgrade to 0.122.5 or later. Self-hosted operators can reduce the impact by running the API with a database role that is not a superuser and that has access only to the Agenta databases.

Credits

Reported by Lee Zhi Yang (@Xeraaaaaaa).

1 / 2
Source: GitHub
First published (updated )

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