Server-side request forgery in datagouv-mcp through a producer-supplied documentation URL
- Affected artifact
- datagouv/datagouv-mcp — get_dataservice_openapi_spec tool, hosted as mcp.data.gouv.frmcp server
- Affected versions
- No version boundary established
- Mitigation
- Run a build containing PR #126. Any tool that fetches a third-party-supplied URL should validate the resolved IP at connect time and re-check every redirect hop.
- Last verified
- 2026-11-20
Severity
CVSS 4.0 score 5.1 (Medium), scored by HOL.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
What to do
Run a build containing PR #126. Any tool that fetches a third-party-supplied URL should validate the resolved IP at connect time and re-check every redirect hop.
Evidence
Precondition. A data.gouv.fr producer account able to register a dataservice with a crafted machine_documentation_url, and an MCP user who calls get_dataservice_openapi_spec on that dataservice.
Source proof. Per the fix PR, get_dataservice_openapi_spec issued a GET on the machine_documentation_url taken from the data catalog. That field is set by any registered data.gouv.fr producer, so a malicious dataservice could point it at loopback, RFC1918, or the cloud metadata address, and the hosted MCP server issued the request. Checking the URL string before fetching was not enough: DNS could rebind between check and connect, and a redirect could land on an internal target. HOL did not reproduce this; it rests on the fix PR's own description.
Version determination. No version boundary established — datagouv-mcp runs as a hosted service and the fix PR publishes no affected or fixed version; the fix is identified by PR #126 and its merge commit.
Disclosure
Disclosure state: coordinated public
Vendor response: fixed — PR #126 merged Sep 4, 2026: destination IP validated at connect time, every redirect hop re-checked, http/https only, explicit proxies refused.
2026-09-04 · vendor action
DINUM merged PR #126 hardening SSRF on external APIs.
2026-11-20 · guard update
Status moved from draft to triaged: Triage complete: the record is in scope for the HOL vulnerability ledger, its sources are primary, and the finding is already public and fixed upstream.
2026-11-20 · guard update
Status moved from triaged to evidence_verified: Evidence verified: every declared source was fetched successfully by the source checker, and each claim was read against its cited source before this transition.
2026-11-20 · disclosure
Status moved from evidence_verified to public: Publication standing: the already_public exception is recorded — the vendor published the fix before this HOL record, so the record republishes public information.
Affected artifact references
Cite this record
[HOL-VULN-2026-0003] Server-side request forgery in datagouv-mcp through a producer-supplied documentation URL — HOL Agent Vulnerability Ledger, HOL (hol.org), 2026. https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0003
Canonical URL: https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0003
Found an error in this record, or want to appeal it? Report an issue or appeal.
Appeal or correct this record
Maintainers and affected parties can submit evidence, dispute the record, or request a correction through the disclosure page. A dispute marks the record visibly disputed — it never silently disappears.