datagouv-mcp before 1.0.0 SSRF via get_dataservice_openapi_spec machine_documentation_url
CVE-2026-142159Published 2 Dec 2026, 17:42 UTC
Real-world risk
1.1/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| datagouv-mcpNiche | < 1.0.0 | 1.0.0 |
What to do
Update to a fixed version: 1.0.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together0.420
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.42 × threat 0.851.071
- Rounded to one decimal between 0.1 and 101.1
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 1.1 (cvss fallback)
Weakness
CWE-918
References
- https://github.com/datagouv/datagouv-mcp/pull/126issue-tracking, patch
- https://github.com/datagouv/datagouv-mcp/commit/52d5157a08a068386151aeee2a0c8a3243a54047patch
- https://github.com/datagouv/datagouv-mcp/blob/v1.0.0/CHANGELOG.mdrelease-notes
- https://github.com/datagouv/datagouv-mcp/blob/79ec83487b3b9557e341ead8e54fb957ae0aacd2/helpers/datagouv_api_client.py#L153-L173technical-description
- https://github.com/datagouv/datagouv-mcp/blob/79ec83487b3b9557e341ead8e54fb957ae0aacd2/tools/get_dataservice_openapi_spec.py#L94-L121technical-description
- https://www.vulncheck.com/advisories/datagouv-mcp-before-1.0.0-ssrf-via-get-dataservice-openapi-spec-machine-documentation-urlthird-party-advisory
- CVE-2026-142159 on CVE.org