{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.2.18"
                  },
                  {
                    "fixed": "0.4.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "25947c1f86cb9b2362165712711b28809dfc6202"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "0.4.0",
                "range": [
                  {
                    "fixed": "25947c1f86cb9b2362165712711b28809dfc6202"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "850fb95b45ff20cf7b7daf85679bd4efe5a25dc0"
            },
            {
              "fixed": "25947c1f86cb9b2362165712711b28809dfc6202"
            }
          ],
          "repo": "https://github.com/vstorm-co/pydantic-deepagents",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f4p6-c493-769c"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137954.json"
  },
  "details": "Pydantic Deep 0.2.18 before 0.4.0 contains a server-side request forgery and local file read vulnerability in the DeepResearch export_report handler for /export/pdf. Attackers can inject raw HTML into reports via the unauthenticated /upload endpoint, causing WeasyPrint to fetch internal URLs and embed local server files into exported PDFs.",
  "id": "CVE-2026-137954",
  "modified": "2026-11-27T17:45:31.985427922Z",
  "published": "2026-11-27T15:22:29.640Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137954.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/vstorm-co/pydantic-deepagents"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/vstorm-co/pydantic-deepagents/blob/650b592b6accd7dc994226abbaa0cf717527e457/apps/deepresearch/src/deepresearch/app.py#L1787-L1843"
    },
    {
      "type": "FIX",
      "url": "https://github.com/vstorm-co/pydantic-deepagents/commit/25947c1f86cb9b2362165712711b28809dfc6202"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/vstorm-co/pydantic-deepagents/releases/tag/0.4.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/vstorm-co/pydantic-deepagents/security/advisories/GHSA-f4p6-c493-769c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137954"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/pydantic-deep-0.2.18-before-0.4.0-ssrf-and-file-read-via-export-pdf"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Pydantic Deep 0.2.18 before 0.4.0 SSRF and File Read via /export/pdf"
}