CVE-2026-142159: datagouv-mcp Server-Side Request Forgery
Published 2026-12-02 · Updated 2026-12-05 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — update datagouv-mcp to 1.0.0 or later on your normal schedule.
What to do
- Update datagouv-mcp to version 1.0.0 or later. Versions before 1.0.0 are affected.
- Until it is patched, restrict network access to datagouv-mcp and review which accounts can log in to it.
- Block outbound requests from the server to internal ranges and metadata addresses.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| datagouv-mcp | < 1.0.0 | 1.0.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: confidentiality is rated low. A successful attack can affect components beyond the vulnerable one.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | Low | Partial loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
Weakness: Server-Side Request Forgery
An attacker can make the server send requests on their behalf, reaching internal services or cloud metadata endpoints.
Classified as CWE-918.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/datagouv/datagouv-mcp/blob/v1.0.0/CHANGELOG.md
- Patchhttps://github.com/datagouv/datagouv-mcp/commit/52d5157a08a068386151aeee2a0c8a3243a54047
- Patchhttps://github.com/datagouv/datagouv-mcp/pull/126
- Advisoryhttps://www.vulncheck.com/advisories/datagouv-mcp-before-1.0.0-ssrf-via-get-dataservice-openapi-spec-machine-documentation-url
- Referencehttps://github.com/datagouv/datagouv-mcp/blob/79ec83487b3b9557e341ead8e54fb957ae0aacd2/helpers/datagouv_api_client.py#L153-L173
- Referencehttps://github.com/datagouv/datagouv-mcp/blob/79ec83487b3b9557e341ead8e54fb957ae0aacd2/tools/get_dataservice_openapi_spec.py#L94-L121