CVE-2026-142159
Received Received - Intake

Server-Side Request Forgery in datagouv-mcp

Vulnerability report for CVE-2026-142159, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
datagouv datagouv-mcp From 0 (inc) to 1.0.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Server-Side Request Forgery (SSRF) vulnerability in datagouv-mcp before version 1.0.0. It allows attackers to register a dataservice with a malicious machine_documentation_url that points to internal, loopback, private, or cloud metadata addresses. The server then makes requests to these restricted targets, enabling attackers to scan internal ports and retrieve sensitive JSON or YAML responses.

Detection Guidance

To detect this SSRF vulnerability in datagouv-mcp before version 1.0.0, monitor network traffic for outbound requests to loopback, private, or cloud metadata addresses from the server running datagouv-mcp. Check logs for requests to 127.0.0.1, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 169.254.169.254, or other internal ranges. Use tools like tcpdump or Wireshark to capture traffic: tcpdump -i any host 127.0.0.1 or tcpdump -i any net 10.0.0.0/8. Inspect server logs for unexpected outbound connections to these addresses.

Check if the datagouv-mcp version is below 1.0.0 by running: pip show datagouv-mcp. If installed via Git, verify the commit hash matches the patched version (e.g., 52d5157a08a068386151aeee2a0c8a3243a54047).

Impact Analysis

If you use datagouv-mcp before version 1.0.0, attackers could exploit this to access internal services, scan your network, or retrieve sensitive data from restricted addresses like loopback or private networks. This could lead to data breaches or unauthorized access to internal systems.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, which may violate GDPR's data protection principles or HIPAA's security requirements. Organizations using affected versions may face compliance violations, legal penalties, and reputational damage due to potential data exposure.

Mitigation Strategies

Upgrade datagouv-mcp to version 1.0.0 or later immediately. If upgrading is not possible, apply the SSRF protections manually by implementing IP validation for machine_documentation_url requests, blocking loopback, private, and metadata addresses. Set environment variables URLS_ALLOW_LOCAL=false and URLS_ALLOW_PRIVATE=false to enforce strict policies.

Restrict network access to the datagouv-mcp server to prevent unauthorized outbound connections. Use firewalls or network policies to block requests to internal IP ranges. Review and validate all dataservice registrations to ensure machine_documentation_url points only to trusted public endpoints.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142159. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...