CVE-2026-42591

Gotenberg: Server-Side Request Forgery (SSRF) in github.com/gotenberg/gotenberg/v8

Published May 14, 2026 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
Description
Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, the LibreOffice conversion endpoint (/forms/libreoffice/convert) passes uploaded documents directly to LibreOffice without inspecting their content. LibreOffice then fetches any embedded external URLs on its own, completely bypassing the SSRF filters. This vulnerability is fixed in 8.32.0.

Analysis

AI-generated

Technical impact

Gotenberg is a Docker‑powered stateless API that converts documents to PDF using LibreOffice. Prior to version 8.32.0, the LibreOffice conversion endpoint accepts user‑supplied documents and forwards them directly to LibreOffice without validating their contents. LibreOffice then follows any embedded external URLs contained in the document, which bypasses the built‑in SSRF filters. The result is that an attacker can cause the Gotenberg server to initiate requests to arbitrary internal or external destinations by crafting a malicious document, potentially revealing sensitive information or facilitating further attacks.

Affected Systems

The affected product is Gotenberg from the vendor gotenberg. All installations running any version earlier than 8.32.0 are vulnerable. The vulnerability was introduced in the libreoffice conversion endpoint of the API.

Risk and Exploitability

The CVSS score of 8.2 classifies this as a high‑severity flaw. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. Based on the description, the likely attack vector is the upload of a crafted document to the LibreOffice conversion endpoint, which causes the LibreOffice process to request embedded URLs, potentially accessing internal hosts or bypassing network controls.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Gotenberg version 8.32.0 or later, which removes the SSRF vulnerability.
  • Restrict access to the LibreOffice conversion endpoint to trusted users or networks to limit the potential scope of an SSRF attack.
  • Configure or sandbox LibreOffice so that it cannot fetch external URLs, adding an extra layer of protection if an upgrade is delayed.

Generated by OpenCVE AI on May 14, 2026 at 17:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rm4c-xj6x-49mw Gotenberg has a Server-Side Request Forgery (SSRF) Issue
History
Type Values Removed Values Added
First Time appeared Thecodingmachine
Thecodingmachine gotenberg
CPEs cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*
Vendors & Products Thecodingmachine
Thecodingmachine gotenberg
Type Values Removed Values Added
First Time appeared Gotenberg
Gotenberg gotenberg
Vendors & Products Gotenberg
Gotenberg gotenberg
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, the LibreOffice conversion endpoint (/forms/libreoffice/convert) passes uploaded documents directly to LibreOffice without inspecting their content. LibreOffice then fetches any embedded external URLs on its own, completely bypassing the SSRF filters. This vulnerability is fixed in 8.32.0.
Title Gotenberg: Server-Side Request Forgery (SSRF) in github.com/gotenberg/gotenberg/v8
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 14, 2026, 6:07 PM
Reserved
Apr 29, 2026, 12:31 AM
Status
Analyzed
Published
May 14, 2026, 4:16 PM
Modified
Nov 11, 2026, 8:10 PM