{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.123.73"
              },
              {
                "fixed": "2.36.2"
              },
              {
                "fixed": "2.35.4"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1a4cb1caa9002e17f67ccfb2e9f95c92c38b7779"
            },
            {
              "fixed": "bc9090e8c61d0dc84aa85528e62142dfb7001243"
            },
            {
              "fixed": "d2ce3c084c228622c2ffe7c245d25870430e18a9"
            }
          ],
          "repo": "https://github.com/n8n-io/n8n",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-95ph-833c-4wrp"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85170.json"
  },
  "details": "n8n versions before 1.123.73, 2.35.4, and 2.36.2 pass message content in the Gmail (v1) and Brevo nodes to the mail composer without verifying it is a string. An authenticated user able to run a workflow can supply an expression that resolves to an object carrying a path or href property, causing the composer to read a local file accessible to the n8n process or fetch an internal URL (SSRF) and attach the result to the outgoing message.",
  "id": "CVE-2026-85170",
  "modified": "2026-09-05T03:31:06.094239522Z",
  "published": "2026-09-03T11:22:19.386Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85170.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/n8n-io/n8n/security/advisories/GHSA-95ph-833c-4wrp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85170"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/n8n-before-1.123.73-local-file-read-and-ssrf-via-gmail-and-brevo-nodes"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "n8n before 1.123.73 Local File Read and SSRF via Gmail and Brevo nodes"
}