CVE-2026-142159
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/datagouv/datagouv-mcp/blob/79ec83487b3b9557e341ead8e54fb957ae0aacd2/helpers/datagouv_api_client.py#L153-L173
- https://github.com/datagouv/datagouv-mcp/blob/79ec83487b3b9557e341ead8e54fb957ae0aacd2/tools/get_dataservice_openapi_spec.py#L94-L121
- https://github.com/datagouv/datagouv-mcp/blob/v1.0.0/CHANGELOG.md
- https://github.com/datagouv/datagouv-mcp/commit/52d5157a08a068386151aeee2a0c8a3243a54047
- https://github.com/datagouv/datagouv-mcp/pull/126
- https://www.vulncheck.com/advisories/datagouv-mcp-before-1.0.0-ssrf-via-get-dataservice-openapi-spec-machine-documentation-url
CWEs
CWE-918
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.