{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.82.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "a56541ba2668e370962b2fc3638b5a5f615b5983"
            }
          ],
          "repo": "https://github.com/berriai/litellm",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12774.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "1.82.0"
          },
          {
            "last_affected": "1.82.0"
          },
          {
            "introduced": "1.82.1"
          },
          {
            "last_affected": "1.82.1"
          },
          {
            "introduced": "1.82.2"
          },
          {
            "last_affected": "1.82.2"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "A security vulnerability has been detected in BerriAI litellm up to 1.82.2. Affected by this vulnerability is the function _execute_with_mcp_client of the file litellm/proxy/_experimental/mcp_server/rest_endpoints.py of the component MCP Server Connection Testing. The manipulation leads to server-side request forgery. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure.",
  "id": "CVE-2026-12774",
  "modified": "2026-07-08T05:36:43.754608085Z",
  "published": "2026-06-21T03:45:06.835Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12774.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-12774"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-12774"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/811285"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/372516"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/372516/cti"
    },
    {
      "type": "EVIDENCE",
      "url": "https://gist.github.com/YLChen-007/256c8ff0750e298f89b6b287c90c2981"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "BerriAI litellm MCP Server Connection Testing rest_endpoints.py _execute_with_mcp_client server-side request forgery"
}