CVE-2026-142159: datagouv-mcp before 1.0.0 SSRF via get_dataservice_openapi_spec machine_documentation_url
datagouv-mcp before 1.0.0 contains a server-side request forgery vulnerability in the getdataserviceopenapispec tool that lets dataservice producers make the server request internal addresses. Attackers can register a dataservice whose unvalidated machinedocumentationurl targets loopback, private or cloud metadata addresses to scan internal ports and retrieve JSON or YAML responses.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
A dataservice producer who can register a dataservice can exploit it by supplying a malicious machine_documentation_url. Exploitation also requires a user interaction, as reflected by the UI:R vector.
What systems or information could be reachable through the vulnerable server?
The vulnerable tool can be induced to request loopback, private-network, or cloud metadata addresses. An attacker can use this to scan internal ports and retrieve JSON or YAML responses exposed at reachable internal endpoints.
Are default installations affected?
The provided information does not state whether the vulnerable tool is enabled or reachable in a default installation. The issue applies to datagouv-mcp versions before 1.0.0 when get_dataservice_openapi_spec processes an unvalidated machine_documentation_url.
What is the available remediation?
Upgrade to datagouv-mcp 1.0.0 or later. The issue is described as affecting versions before 1.0.0.