{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "52d5157a08a068386151aeee2a0c8a3243a54047"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c1e4e75d487ad3c4b3bb967ec0fd541eb28b32fe"
            },
            {
              "fixed": "52d5157a08a068386151aeee2a0c8a3243a54047"
            }
          ],
          "repo": "https://github.com/datagouv/datagouv-mcp",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142159.json"
  },
  "details": "datagouv-mcp before 1.0.0 contains a server-side request forgery vulnerability in the get_dataservice_openapi_spec tool that lets dataservice producers make the server request internal addresses. Attackers can register a dataservice whose unvalidated machine_documentation_url targets loopback, private or cloud metadata addresses to scan internal ports and retrieve JSON or YAML responses.",
  "id": "CVE-2026-142159",
  "modified": "2026-12-02T18:45:46.342563679Z",
  "published": "2026-12-02T17:42:44.649Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142159.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/datagouv/datagouv-mcp"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/datagouv/datagouv-mcp/blob/79ec83487b3b9557e341ead8e54fb957ae0aacd2/helpers/datagouv_api_client.py#L153-L173"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/datagouv/datagouv-mcp/blob/79ec83487b3b9557e341ead8e54fb957ae0aacd2/tools/get_dataservice_openapi_spec.py#L94-L121"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/datagouv/datagouv-mcp/blob/v1.0.0/CHANGELOG.md"
    },
    {
      "type": "FIX",
      "url": "https://github.com/datagouv/datagouv-mcp/commit/52d5157a08a068386151aeee2a0c8a3243a54047"
    },
    {
      "type": "FIX",
      "url": "https://github.com/datagouv/datagouv-mcp/pull/126"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142159"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/datagouv-mcp-before-1.0.0-ssrf-via-get-dataservice-openapi-spec-machine-documentation-url"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "datagouv-mcp before 1.0.0 SSRF via get_dataservice_openapi_spec machine_documentation_url"
}