{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.122.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "95fedd72a8b2bab810f80907f58c09f8bb579d94"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.122.5",
                "range": [
                  {
                    "fixed": "66f5679c94c4b077c87afac545b25cae3209f9c6"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "66f5679c94c4b077c87afac545b25cae3209f9c6"
            },
            {
              "fixed": "95fedd72a8b2bab810f80907f58c09f8bb579d94"
            }
          ],
          "repo": "https://github.com/agenta-ai/agenta",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123786.json"
  },
  "details": "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.",
  "id": "CVE-2026-123786",
  "modified": "2026-11-14T02:30:42.522413Z",
  "published": "2026-11-06T15:01:02.112Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/Agenta-AI/agenta/releases/tag/v0.122.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Agenta-AI/agenta/security/advisories/GHSA-pr74-8wxx-gj2h"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Agenta-AI/agenta/security/advisories/GHSA-wx6j-82pp-wx76"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123786.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-123786"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/agenta-before-0.122.5-ssrf-via-workflow-revision-url-leaks-secret-token"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Agenta-AI/agenta/commit/95fedd72a8b2bab810f80907f58c09f8bb579d94"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Agenta-AI/agenta/pull/7530"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Agenta-AI/agenta"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Agenta-AI/agenta/blob/v0.122.4/api/oss/src/core/workflows/service.py#L785-L805"
    }
  ],
  "related": [
    "GHSA-pr74-8wxx-gj2h",
    "GHSA-wx6j-82pp-wx76"
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Agenta before 0.122.5 SSRF via Workflow Revision URL Leaks Secret Token"
}