{"id":"CVE-2026-123786","published":"2026-11-06T15:17:21.643","lastModified":"2026-11-09T23:17:16.380","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.","cvssScore":8.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","cwes":["CWE-918"],"vendors":[],"products":[],"references":[{"url":"https://github.com/Agenta-AI/agenta/blob/v0.122.4/api/oss/src/core/workflows/service.py#L785-L805","tags":[]},{"url":"https://github.com/Agenta-AI/agenta/commit/95fedd72a8b2bab810f80907f58c09f8bb579d94","tags":[]},{"url":"https://github.com/Agenta-AI/agenta/pull/7530","tags":[]},{"url":"https://github.com/Agenta-AI/agenta/releases/tag/v0.122.5","tags":[]},{"url":"https://github.com/Agenta-AI/agenta/security/advisories/GHSA-pr74-8wxx-gj2h","tags":[]},{"url":"https://github.com/Agenta-AI/agenta/security/advisories/GHSA-wx6j-82pp-wx76","tags":[]},{"url":"https://www.vulncheck.com/advisories/agenta-before-0.122.5-ssrf-via-workflow-revision-url-leaks-secret-token","tags":[]}],"exploitRefs":[{"url":"https://github.com/Agenta-AI/agenta/blob/v0.122.4/api/oss/src/core/workflows/service.py#L785-L805","tags":[]},{"url":"https://github.com/Agenta-AI/agenta/commit/95fedd72a8b2bab810f80907f58c09f8bb579d94","tags":[]},{"url":"https://github.com/Agenta-AI/agenta/pull/7530","tags":[]},{"url":"https://github.com/Agenta-AI/agenta/releases/tag/v0.122.5","tags":[]},{"url":"https://github.com/Agenta-AI/agenta/security/advisories/GHSA-pr74-8wxx-gj2h","tags":[]},{"url":"https://github.com/Agenta-AI/agenta/security/advisories/GHSA-wx6j-82pp-wx76","tags":[]}],"hasPoc":true,"ai":{"summary":"Agenta before 0.122.5 has a server-side request forgery (SSRF) flaw where users with workflow edit permissions can set arbitrary revision URLs, causing the server to make unintended requests. This allows attackers to exfiltrate the secret-resolve Authorization token and access sensitive provider secrets or internal/cloud metadata endpoints.","exploitability":"Exploitation requires low skill and only a workspace membership with workflow edit rights; no user interaction or external tools are needed beyond standard HTTP requests.","blast_radius":"Successful exploitation enables full compromise of cloud provider secrets stored in the vault, potential access to internal infrastructure via metadata endpoints, and limited integrity impact through forced server-side actions.","remediation":"Upgrade to Agenta version 0.122.5 or later.","detection":"Defenders should monitor for anomalous outbound HTTP requests from the Agenta application to unexpected external domains or internal IP ranges (e.g., 169.254.169.254), especially those including Authorization headers containing secret-resolve tokens; log entries showing workflow invocations with non-standard revision URLs pointing to untrusted domains may also indicate exploitation attempts.","tags":["ssrf","secrets-exposure","auth-bypass","web-app","cloud-metadata"],"model":"garnet-coder","analyzedAt":"2026-11-09T09:48:01.090Z"}}