LiveActive security incident?Get immediate response
CVE Record

CVE-2026-27961: Agenta's Server-Side Template Injection (SSTI) via custom evaluator Jinja2 templates allows RCE

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.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2026-27961 affects Agenta platform deployments before version 0.86.8. A user with evaluator access could abuse custom Jinja2 evaluator templates so the server runs unintended code. The issue is high urgency for organizations self-hosting or using managed Agenta because it can impact confidentiality, integrity, and availability of the API server.

Executive priority

Prioritize remediation for any Agenta platform deployment before 0.86.8, especially where evaluator features are available to multiple users. The business risk is server-side code execution in an LLMOps platform, which can threaten sensitive data, service integrity, and availability.

Technical view

The vulnerability is a server-side template injection in Agenta API server evaluator template rendering. Although the vulnerable code is in the SDK package, the advisory states it executes server-side inside the API process when evaluators run. It does not affect standalone SDK usage. CVSS 3.1 is 8.8: network exploitable, low complexity, low privileges required, no user interaction.

Likely exposure

Exposure is limited to self-hosted or managed Agenta platform deployments running versions before 0.86.8 where users can create or run custom evaluators. Standalone SDK-only use is not affected according to the provided advisory information.

Exploitation context

The CVSS vector indicates exploitation requires network access and low privileges, but no user interaction. The source bundle does not indicate known active exploitation, and the CVE is not marked KEV. Do not assume exploitation in the wild without additional evidence.

Researcher notes

The key distinction is execution context: vulnerable code is in the SDK package but becomes exploitable when invoked server-side by the API process during evaluator rendering. Available sources name the fixed version but do not provide further exploit telemetry or broader affected product details.

Mitigation direction

  • Upgrade Agenta platform deployments to version 0.86.8 or later.
  • Review vendor advisory GHSA-cfr2-mp74-3763 for deployment-specific guidance.
  • Restrict evaluator creation and execution to trusted users until upgraded.
  • Inventory managed and self-hosted Agenta instances for versions below 0.86.8.

Validation and detection

  • Confirm Agenta platform version is 0.86.8 or later.
  • Identify whether the deployment runs the Agenta API server evaluators.
  • Verify standalone SDK-only use is not being misclassified as platform exposure.
  • Review evaluator access controls for least-privilege configuration.
  • Check logs for unusual evaluator activity, without assuming compromise.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-1336: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-27961 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2026-27961Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Agenta-AIagenta< 0.86.8Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-1336 · source CWE mapping

Improper Neutralization of Special Elements Used in a Template Engine

Improper Neutralization of Special Elements Used in a Template Engine represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.