Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted scope pattern to Gotenberg API
-
ExploitTrigger uncontrolled regex compilation in dlclark/regexp2
-
ExecutionHang worker process indefinitely
-
ImpactExhaust resource availability
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote unauthenticated attacker can submit crafted scope patterns to Gotenberg 8.29.1 and earlier API endpoints that compile user-supplied regex patterns. No special configuration or victim interaction required; default installations are vulnerable. |
| Impact | Real-world risk is moderate-to-high for exposed installations despite the elevated CVSS 4.0 score of 8.7. The vulnerability requires no authentication (PR:N) and low attack complexity (AC:L), making it trivially exploitable by any network-accessible attacker. However, the impact is limited to availability (VA:H) with no confidentiality or integrity effects, which constrains the blast radius to service disruption rather than data compromise. EPSS score and KEV status were not provided in the intelligence data, suggesting no confirmed active exploitation at time of reporting. The attack is highly automatable since crafting ReDoS payloads for regexp2 is well-documented, though targeting requires knowledge that the service uses scope pattern features. Organizations exposing Gotenberg to untrusted networks (internet-facing document conversion APIs) face immediate risk, while internal deployments with trusted user bases have reduced exposure. The GitHub security advisory reference indicates vendor awareness and likely patch development, positioning this as a high-priority update for public-facing instances rather than an emergency patch-all-instances scenario. |
| Exploit ScenarioDerived | An external attacker identifies a publicly accessible Gotenberg document conversion API endpoint through reconnaissance of an organization's web application that offers PDF generation services. The attacker crafts an HTTP request to the conversion endpoint, embedding a maliciously constructed regular expression scope pattern designed to trigger catastrophic backtracking, such as nested quantifiers matching against long input strings. Upon processing, the Gotenberg worker thread enters unbounded computation attempting to evaluate the pathological regex, hanging indefinitely while consuming CPU resources. By submitting multiple concurrent requests with similar payloads, the attacker exhausts all available worker processes, rendering the document conversion service unresponsive and disrupting dependent business applications that rely on PDF generation functionality. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 07, 2026
Denial of service in Gotenberg API (≤8.29.1) allows unauthenticated remote attackers to indefinitely hang worker processes via malicious regular expression patterns. The vulnerability stems from missing timeout enforcement in the dlclark/regexp2 library when compiling user-supplied scope patterns, enabling catastrophic backtracking attacks (CWE-1333). With CVSS 4.0 score 8.7 and high availability impact (VA:H), this represents significant service disruption risk. No public exploit identified at time of analysis, though the attack vector is network-accessible without authentication (AV:N/PR:N).
RemediationAI
Upgrade to Gotenberg version 8.29.2 or later once released, monitoring the GitHub security advisory at https://github.com/gotenberg/gotenberg/security/advisories/GHSA-fmwg-qcqh-m992 for specific patch version confirmation. Until patched versions are deployed, implement network-level access controls to restrict API exposure to trusted clients only, reducing attack surface from unauthenticated internet sources. Consider rate limiting on endpoints accepting scope pattern parameters to mitigate resource exhaustion impact. Organizations unable to immediately upgrade should disable or restrict features utilizing user-supplied regular expression patterns if application architecture permits. Review application logs for unusual patterns of worker hangs or regex compilation delays that may indicate exploitation attempts. Subscribe to Gotenberg project notifications for release announcements and apply security updates promptly given the network-accessible attack vector.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Gotenberg is a Docker-powered stateless API for converting various document formats (HTML, Markdown, Office documents) to PDF. The vulnerability resides in the regular expression handling layer where user-controlled scope patterns are compiled using the dlclark/regexp2 Go library without timeout constraints. CWE-1333 (Inefficient Regular Expression Complexity) describes this class of vulnerability as Regular Expression Denial of Service (ReDoS), where specially crafted input patterns cause exponential-time evaluation through catastrophic backtracking. When processing user requests containing malicious regex patterns, the regexp2 engine enters unbounded computation states, exhausting worker thread resources. The affected component (cpe:2.3:a:gotenberg:gotenberg) is typically deployed as a microservice in document processing pipelines, making availability disruption particularly impactful for dependent services.
Know when Gotenberg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
Gotenberg is an API for converting document formats. In 8.29.1 and earlier, Gotenberg uses dlclark/regexp2 to compile user-supplied scope patterns without setting a proper timeout. Users with access to features using this logic can hang workers indefinitely.
Executive ViewAI
Gotenberg API versions 8.29.1 and earlier contain a denial-of-service vulnerability allowing unauthenticated attackers to hang worker processes indefinitely through malicious regular expressions, directly impacting service availability and operational resilience. Organizations relying on Gotenberg for document conversion should immediately assess exposure and implement mitigations, as the attack requires no credentials and can be triggered remotely.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Deploy Web Application Firewall (WAF) rules to detect and block regex patterns with excessive quantifiers or backtracking indicators; (2) Implement strict connection timeouts (30 seconds maximum) and request body size limits at ingress; (3) Isolate Gotenberg instances on separate network segment with strict access controls; (4) Monitor worker process health and auto-restart hung processes; (5) Rate-limit API endpoints per source IP; (6) Require API authentication and authorization layer if not currently in place, even if not preventing this specific attack.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
All versions of package github.com/thecodingmachine/gotenberg are vulnerable to Server-side Request Forgery (SSRF) via t
Server-side request forgery in Gotenberg 8.31.0 through 8.37.0 lets unauthenticated clients of the conversion API reach
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-19651
GHSA-fmwg-qcqh-m992
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB