Skip to main content

Gotenberg CVE-2026-35458

| EUVDEUVD-2026-19651 HIGH
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-04-07 GitHub_M GHSA-fmwg-qcqh-m992
8.7
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted scope pattern to Gotenberg API
  2. Exploit
    Trigger uncontrolled regex compilation in dlclark/regexp2
  3. Execution
    Hang worker process indefinitely
  4. Impact
    Exhaust 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

gotenberg ≤ 8.29.1

Affected Packages

go github.com/gotenberg/gotenberg/v7 no fix
go github.com/gotenberg/gotenberg/v8 fix: 8.30.0
euvd gotenberg no fix

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

GitHub Advisory PRIMARY 8.7 HIGH
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
SUSE CRITICAL

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 07, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 07, 2026 - 14:24 nvd
HIGH 8.7

DescriptionGitHub 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 87% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy