Skip to main content

Agenta EUVDEUVD-2026-118304

| CVE-2026-123786 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-06 VulnCheck GHSA-xx4h-9g3r-79qc
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-priv workspace member with workflow edit rights
  2. Delivery
    Set revision URL to internal/metadata host (e.g. 169.254.169.254)
  3. Exploit
    Trigger workflow invocation via evaluation start endpoint
  4. Execution
    Server POSTs credentialed request, follows redirect
  5. Impact
    Capture Secret token and read vault secrets / metadata

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated workspace member who holds workflow/evaluator edit rights, since the attacker-controlled input is a workflow revision 'url' that is only validated by scheme and non-empty netloc (accepting loopback, RFC1918, and 169.254.169.254). On OSS it is reachable via POST /api/simple/evaluations/{id}/start, and the is_ee() gate guards only EE permission checks, not the vulnerable call. No user interaction is needed. The webhook code path is NOT affected because it already uses validate_webhook_url to DNS-resolve and block private/loopback/metadata addresses - only the workflow path lacked this guard. Limiting factors: the attacker must have a valid low-privilege account with workflow edit permission in the target workspace, and after patching, self-hosted operators running custom workflows on private networks or plain http must explicitly set AGENTA_GATEWAYS_INSECURE_EGRESS_ALLOWED=true or allowlist the host via AGENTA_MCP_GATEWAY_HOST_ALLOWLIST for legitimate internal targets.

Impact

This is a genuine, well-substantiated priority rather than an inflated-CVSS artifact, though it sits just below top-tier urgency. The CVSS 4.0 base of 8.4 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N) reflects a network-reachable, low-complexity SSRF requiring only low privileges and no user interaction, with high vulnerable-system confidentiality impact and a high subsequent-system confidentiality impact (the leaked Secret token and reachable cloud-metadata/internal services). The vuln.today decision label is 'this_week', consistent with a serious-but-not-emergency posture. No EPSS score and no CISA KEV entry were supplied, so there is no evidence of active exploitation or a modeled exploitation probability - meaning this should be read as a credible, high-severity but not currently-mass-exploited issue. It was reported by VulnCheck and is backed by a detailed GHSA advisory that includes a verification narrative (the researchers ran the real validators and confirmed the httpx sink reached 127.0.0.1 and forwarded the Secret header through a 302), which materially raises confidence that the flaw is real and triggerable even though no weaponized public exploit is listed. The main signals are consistent (network vector, low privilege, confirmed mechanism, patch available); the principal gap is the absence of EPSS/KEV telemetry to gauge real-world exploitation volume.

Exploit ScenarioDerived

An authenticated low-privileged workspace member with workflow edit rights sets a workflow/evaluator revision URL to an internal or cloud-metadata address (e.g. http://169.254.169.254/ or an RFC1918 host). When the workflow is invoked, the Agenta backend POSTs server-side to that URL with follow_redirects enabled while forwarding a minted 'Secret <token>' Authorization header, letting the attacker capture the token (and use it against the vault API to read provider secrets) or reach internal/cloud-metadata endpoints. No standalone weaponized exploit is published, but the GHSA advisory documents a working verification of both the SSRF and the token leak through a 302 redirect.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Server-side request forgery in Agenta before 0.122.5 lets a workspace member who holds workflow or evaluator edit rights point a revision 'url' at arbitrary internal, loopback or cloud-metadata destinations, because that URL is validated only by scheme and non-empty netloc. The vulnerable fetch is made server-side with redirects followed and an agenta 'Secret <token>' Authorization header attached, so a redirect can capture a credential carrying the secret-resolve grant and use it against the vault API to read provider secrets, in addition to reaching internal services and 169.254.169.254. The attacker must be an authenticated workspace member with workflow edit permission and no user interaction is required; vendor-released patch 0.122.5 addresses the issue, and no public exploit has been identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to Agenta 0.122.5 (pip install agenta==0.122.5), which is the release containing PR https://github.com/Agenta-AI/agenta/pull/7530 (commit 95fedd72a8b2bab810f80907f58c09f8bb579d94); after the fix only URLs under the operator's own AGENTA_SERVICES_URL receive the secret-resolve grant, all other workflow URLs pass through the egress check that refuses private, loopback, link-local and metadata addresses and pins the connection to the checked address, and no workflow service call follows redirects. Self-hosted operators who legitimately run custom workflows on a private network or over plain http must set AGENTA_GATEWAYS_INSECURE_EGRESS_ALLOWED=true or list the host in AGENTA_MCP_GATEWAY_HOST_ALLOWLIST, understanding that this re-opens the egress path to internal destinations and narrows the protection the patch otherwise provides. Until the upgrade is applied, exposure is bounded by who holds workflow and evaluator edit rights in a workspace, so restricting that permission to trusted members limits the attack surface at the cost of slower workflow authoring. Advisory details are at https://github.com/Agenta-AI/agenta/security/advisories/GHSA-pr74-8wxx-gj2h, https://github.com/Agenta-AI/agenta/security/advisories/GHSA-wx6j-82pp-wx76 and https://www.vulncheck.com/advisories/agenta-before-0.122.5-ssrf-via-workflow-revision-url-leaks-secret-token.

Affected VersionsENISA

agenta 0 <0.122.5

Affected Packages

euvd agenta fix: 0.122.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-918 in Agenta's Python workflow service. On the SDK side, _is_valid_http_url in sdks/python/agenta/sdk/models/workflows.py accepts any URL whose scheme is http/https and whose netloc is non-empty, which means http://127.0.0.1/, RFC1918 ranges and http://169.254.169.254/ all pass; the docker-hostname rewrite in parse_url performs no IP guard. The sink is _post_service_json in api/oss/src/core/workflows/service.py, which builds an httpx.AsyncClient(timeout=60, follow_redirects=True) and POSTs JSON to the user-controlled URL with Authorization: Secret <token>, a credential minted in invoke_workflow with the secret-resolve grant. Because redirects are followed, a 302 to an attacker-controlled host carries that Secret token off-platform, enabling replay against the vault API for provider secrets; the same primitive enables blind and semi-blind SSRF against internal services and cloud metadata. The codebase's webhook path already defended against this with validate_webhook_url/_is_blocked_ip (DNS resolution plus blocking of private, loopback, link-local and metadata addresses), while the workflow path never called it. On OSS the path is reachable via POST /api/simple/evaluations/{id}/start; the is_ee() gate covers only EE permission checks, not the vulnerable call. The 0.122.5 fix adds a structural comparison against the operator's AGENTA_SERVICES_URL (scheme, host, effective port, path prefix, rejecting userinfo, dot segments and percent-encoded escapes), routes every non-platform URL through the gateway egress boundary (open_egress) which refuses blocked ranges and pins the connection to the checked address, sets follow_redirects=False, and disables cookie reuse.

Know when Agenta gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.4 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N
vuln.today AI 8.5 HIGH

Network-reachable, low-complexity SSRF needing only a low-priv authenticated account (PR:L); credentialed request to attacker-chosen host crosses a security boundary (S:C) leaking secrets (C:H) with minor integrity impact and no availability loss.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

CWE-918 server-side request forgery driven by an unvalidated tenant-controlled URL, compounded by credential scoping.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Agenta, a workflow and evaluator platform, contains a high-severity server-side request forgery (SSRF) vulnerability in versions prior to 0.122.5. Authenticated workspace members with edit rights can exploit this flaw to access internal services, cloud metadata, and potentially exfiltrate sensitive provider secrets stored in Agenta's vault. This puts sensitive data and cloud infrastructure at risk, and leadership should prioritize patching to prevent unauthorized access and potential data breaches.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche open-source LLMOps platform, limited enterprise deployment footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy