{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "5.12.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "f03bcf6cbcae3a719b9b56c32077379b5cde2190"
            }
          ],
          "repo": "https://github.com/phpoffice/phpspreadsheet",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144591.json"
  },
  "details": "PhpSpreadsheet through 5.12.0 contains a server-side request forgery vulnerability that allows attackers to reach internal addresses because writers re-fetch external drawing URLs with file_get_contents() following redirects. Attackers can supply a spreadsheet whose image host serves a valid image to the reader and then redirects the writer's fetch to internal endpoints, leaking response data in generated xlsx, ods, xls or html files.",
  "id": "CVE-2026-144591",
  "modified": "2026-12-04T02:45:38.850132511Z",
  "published": "2026-12-04T01:08:49.868Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144591.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/PHPOffice/PhpSpreadsheet"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/PHPOffice/PhpSpreadsheet/blob/5.12.0/src/PhpSpreadsheet/Worksheet/Drawing.php#L140-L180"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/PHPOffice/PhpSpreadsheet/blob/5.12.0/src/PhpSpreadsheet/Writer/Ods/Drawing.php#L60-L66"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/PHPOffice/PhpSpreadsheet/blob/5.12.0/src/PhpSpreadsheet/Writer/Xlsx.php#L598-L622"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-144591"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/phpspreadsheet-through-5.12.0-ssrf-via-redirect-in-writer-external-drawing-fetches"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "PhpSpreadsheet through 5.12.0 SSRF via Redirect in Writer External Drawing Fetches"
}