---
title: "Gotenberg PDF API Check (CVE-2026-126799)"
canonical: https://trickest.com/library/gotenberg-pdf-api-check-cve-2026-126799
description: "The Gotenberg pair behind CVE-2026-126799 and CVE-2026-42589: an unauthenticated conversion API and the 9.9 deserialization RCE that rides on it."
---

# Gotenberg PDF API Check (CVE-2026-126799)

## Overview

This page covers the Gotenberg pair: CVE-2026-126799, the insecure configuration in the document-conversion API that leaves the service unauthenticated on the network by default, and CVE-2026-42589, the unauthenticated deserialization flaw that turns an exposed instance into code execution at 9.9 with a 1.9 probability of exploitation, EPSS top one percent. Gotenberg is a PDF conversion microservice developers sprinkle across internal tooling, which is exactly why it shows up where nobody owns it: on a server with no API key, the convert endpoint is the feature, and the deserialization chain rides on it. The fix is 8.22.0, which carries both CVEs. The detection story is honest about its limits: a probe can confirm that a Gotenberg API answers unauthenticated, which is the exposure condition, but version is not disclosed by the service, so affected versus fixed needs the image or compose file. The page feeds [exposure management](/use-cases/exposure-management) from the exposure side.

## Pipeline

1. Inventory container hosts and compose files for gotenberg images, and pin the version from the image tag or lockfile, since the service itself discloses nothing. A tag below 8.22.0 is affected by both CVEs.
2. Check network reachability of the API port from untrusted networks, including internal segments a compromised workstation can reach; the default configuration has no authentication, so reachability is exposure.
3. Where reachability must be confirmed interactively, a plain GET of the health endpoint answers unauthenticated without touching the convert surface, which is the only request this page endorses.
4. Patch to 8.22.0 and re-verify the running image, since a rebuilt image behind an old container is the classic gap.
5. Where an exposed instance sat reachable during the exposure window, hunt for unexpected document conversions and review the host's process list, because the exploit class is code execution.

## Inputs

- **Container inventory.** Gotenberg image tags and compose definitions, plus the network placement of each instance.

## Outputs

- No workflow run produces output on this page. The deliverable is per-instance image at 8.22.0 with reachability documented, and hunt evidence for instances that faced untrusted networks.

## Sample output

The transcript below is illustrative and does not come from a real run. It shows the evidence an operator collects while triaging.

```console
$ docker ps --format '{{.Names}} {{.Image}}' | grep -i gotenberg
doc-converter  gotenberg/gotenberg:8.14.1
$ curl -s -o /dev/null -w '%{http_code}' http://tools.internal:3000/health
200
```

## FAQ

### Why no full scan for this one?

Because the two requests that prove the deserialization flaw are the exploit, and the service discloses no version to gate on remotely. The honest detection is the image inventory plus the health-endpoint reachability check this page carries.

### What is CVE-2026-126799 versus CVE-2026-42589?

CVE-2026-126799 is the insecure-configuration default: the API ships without authentication, so reachability is exposure. CVE-2026-42589 is the unauthenticated deserialization flaw in the conversion pipeline that reaches code execution, and the two compose into the 9.9-critical chain the EPSS score reflects.

### Which versions are affected?

Every release before 8.22.0 carries both CVEs, and 8.22.0 fixes them. The version must come from the image tag or lockfile, because the service exposes no version endpoint.

### Who is exposed?

Anyone who can reach the API port: the internet in the worst case, or any internal segment a compromised workstation can reach, which is the common case for a microservice. The default configuration has no authentication, so network placement decides everything.

## Related workflows

- [Node.js Brotli Exposure Check (CVE-2026-111497)](/library/nodejs-brotli-exposure-check-cve-2026-111497). Reach for it when the next microservice exposure flag is a runtime library instead of a conversion API.
- [FreeSWITCH Command Injection (CVE-2026-116779)](/library/freeswitch-command-injection-check-cve-2026-116779). Reach for it when the next unauthenticated service flag is a PBX instead of a document API.
- [Full Network Port and Service Assessment](/library/full-network-port-and-service-assessment). Map which hosts expose conversion APIs across the estate first.

---
_Markdown source of https://trickest.com/library/gotenberg-pdf-api-check-cve-2026-126799._
