Gotenberg · Disclosed

Gotenberg fixes unauthenticated file read and internal network access in v8.32.0

· 1 min read

Two flaws in Gotenberg, disclosed by dbugs, let an unauthenticated attacker read files from the container (CVE-2026-42593) and reach the internal network via DNS rebinding (CVE-2026-42592). Versions up to and including v8.31.0 are affected, and the fix shipped in v8.32.0. Update the service and the Docker image now.

Illustration: Gotenberg fixes unauthenticated file read and internal network access in v8.32.0
WhatsApp LinkedIn X
HighVulnerabilityDisclosedPatched

In 30 seconds

Observed

Gotenberg, the open source tool that converts documents to PDFs, shipped version 8.32.0 with fixes for two security flaws that researchers say require no login to exploit. Advisories published on December 3, 2026 track the bugs as CVE-2026-42592 and CVE-2026-42593, and every release up to and including 8.31.0 is affected. The short version: update now.dbu.gsdbu.gs · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Alleged

The first flaw, in the PDF stamping feature, allegedly lets a remote caller read files from the server's container by feeding a path through the stampExpression parameter on merge, split, and conversion routes. The second allegedly turns Gotenberg into a doorway to internal networks: a crafted request to the URL conversion route makes the bundled Chromium browser fetch an internal address and return the response as a PDF, using a trick called DNS rebinding, where a hostname resolves to a safe IP on the first lookup and an internal one on the second.dbu.gsdbu.gs · rssOpen original sourceSee in source listdbu.gsdbu.gs · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

What happened

Observed

The disclosure landed as a coordinated set on December 3, 2026. The dbu.gs newsdesk published a summary article alongside two advisories, PT-2026-38383 for the URL filter bypass and PT-2026-38384 for the file disclosure, while the nefariousplan.com research blog posted deep dives on each bug. A thread by ptdbugs on X tied the pieces together.dbu.gsdbu.gs · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Observed

Here is how the file read works, per the research. The dedicated stamping route, /forms/pdfengines/stamp, played by the rules: if stampSource was set to pdf or image, you had to upload a stampFile or the server answered with HTTP 400. Six other routes, including /forms/pdfengines/merge, only ran an assignment check. They swapped stampExpression for the uploaded file's path when stampFile was present, and otherwise kept whatever path the caller sent. That surviving value is the hole, and it spans v8.28.0 through v8.31.0, including the official gotenberg/gotenberg:8.31.0 Docker image.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source listdbu.gsdbu.gs · rssOpen original sourceSee in source listnefariousplan.comnefariousplan.com · rssOpen original sourceSee in source list

Observed

The network-facing bug is a case of checking a lock and then walking away. Gotenberg's FilterOutboundURL function in pkg/gotenberg/outbound.go validated the target address with ResolveAndCheckPublic but returned only the error, discarding the list of allowed IP addresses that decideOutbound had produced. Later checks did their own DNS lookups and never passed the resolved IP to the browser, so after fetch.ContinueRequest, Chromium resolved the hostname itself and opened the connection. Two lookups, two possible answers: that is the opening DNS rebinding needs. Versions 8.31.0 and earlier are affected.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source listnefariousplan.comnefariousplan.com · rssOpen original sourceSee in source list

Why it matters

Inferred

Gotenberg usually runs as a containerized conversion service sitting inside a pipeline, quietly chewing through invoices, reports, and user uploads. Both flaws are described as reachable without authentication, which changes the math: anyone who can reach the endpoint is in scope, not just logged-in users. The advisory names the official Docker image directly, a hint at how most deployments run this.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Alleged

The impact compounds. The file disclosure would read whatever the gotenberg user can see inside the container, which often means mounted secrets, configuration, and other people's temporary documents. The URL bypass amounts to server-side request forgery in practice, meaning the attacker tricks the server into fetching internal addresses, and the response comes back disguised as a PDF. Together they would hand an outside actor both local file access and internal network reach, if the researchers' analysis holds.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source listdbu.gsdbu.gs · rssOpen original sourceSee in source list

What to do

Observed

Update to v8.32.0, full stop. The advisories state both issues are fixed there, and if you run the Docker image, that means pulling gotenberg/gotenberg:8.32.0 instead of a pinned older tag.dbu.gsdbu.gs · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

If you cannot upgrade immediately, containment buys time: restrict which networks can reach the service, trim the files mounted into the container, and limit the container's outbound network access so a rebinding attempt has nowhere to go. These are standard damage-limitation steps inferred from the described attack paths, not a substitute for the patch.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Confirmed and still uncertain

Observed

Settled so far: the affected ranges (v8.28.0 through v8.31.0 for the file disclosure, 8.31.0 and earlier for the URL bypass), the fix in v8.32.0, and root causes traced to named functions, routes, and files in the codebase.dbu.gsdbu.gs · rssOpen original sourceSee in source listdbu.gsdbu.gs · rssOpen original sourceSee in source list

Inferred

Still open. Nothing in this batch shows active exploitation, scanning, or compromised instances, and no patch diff is included, so the exact fix approach is unverified here. The summaries also do not say whether releases before v8.28.0 are exposed to the stampExpression issue, or whether other parameters follow the same assignment-check pattern.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

One tantalizing hint: the research post on CVE-2026-42593 is titled 'gate and bypass same commit', suggesting the very change that added the stampFile gate also introduced the path that slips past it. The full write-up would confirm; treat this as inference drawn from a headline.nefariousplan.comnefariousplan.com · rssOpen original sourceSee in source list

What people are saying

Observed

ptdbugs framed the pair bluntly on X, calling them two critical vulnerabilities that let an unauthenticated attacker access internal resources, and pointing readers to the advisory pages for each CVE.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Observed

The researcher write-ups editorialize in their titles. For the URL bypass: 'Filter threw the address away', a one-line summary of the discarded IP list. For the file disclosure: 'Gate and bypass same commit', pointing at how the validation gap was born.nefariousplan.comnefariousplan.com · rssOpen original sourceSee in source listnefariousplan.comnefariousplan.com · rssOpen original sourceSee in source list

Evolution

Observed

Everything arrived at once, on December 3, 2026: the dbu.gs news piece, the two advisories, the two technical posts, and the X thread all carry the same timestamp in this batch. There is no earlier public back-and-forth here, no drawn-out disclosure timeline to reconstruct.dbu.gsdbu.gs · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

The shape of the story is familiar. The advisories establish that two unauthenticated flaws exist and are patched, and the write-ups explain why at the code level: one discarded return value in one bug, one lopsided validation check in the other. The understanding moved from 'patch your converter' to 'here is the exact line of reasoning that broke', with v8.32.0 closing both paths.nefariousplan.comnefariousplan.com · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Reach

Observed

2 independent groups, 1 updates, and 0 engagements.

Technical detail

Observed

CVE-2026-42592 in detail. FilterOutboundURL, in pkg/gotenberg/outbound.go, calls ResolveAndCheckPublic to validate the address but returns only the error object, throwing away the allowed IP list produced by decideOutbound. At render time, Gotenberg rechecks the URL, and the CDP event handler in pkg/modules/chromium/events.go rechecks again, CDP being Chrome DevTools Protocol, the control channel for driving Chromium. Both checks resolve DNS on their own and never hand the IP to the browser. After fetch.ContinueRequest fires, Chromium's HostResolver resolves the hostname and opens the TCP connection itself. First lookup public, second lookup internal: that is DNS rebinding.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source listnefariousplan.comnefariousplan.com · rssOpen original sourceSee in source list

Observed

CVE-2026-42593 in detail. On /forms/pdfengines/stamp, validation required an uploaded stampFile whenever stampSource was pdf or image, and the server returned HTTP 400 without it. The six other routes, /forms/pdfengines/merge among them, ran only an assignment check: stampExpression was overwritten with the uploaded file's path only when stampFile existed, and otherwise the caller-supplied value survived. The process runs as the gotenberg user, so the readable surface is every file that account can reach in the container.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source listdbu.gsdbu.gs · rssOpen original sourceSee in source list

Sources and evidence

Observed

This compilation rests on six items, all dated December 3, 2026: the dbu.gs news article, advisories PT-2026-38383 (CVE-2026-42592) and PT-2026-38384 (CVE-2026-42593), two nefariousplan.com research posts, and a summary thread by ptdbugs on X.dbu.gsdbu.gs · rssOpen original sourceSee in source listptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Inferred

A caveat on weight: the advisory and research items reached this batch as headlines and URLs without body text, so the technical specifics above lean on the ptdbugs thread, which itself links back to those primary pages. Readers verifying details should follow the advisory and write-up links directly.ptdbugsx.com · ptdbugs · xOpen original sourceSee in source list

Sources

  1. dbu.gsdbu.gs · rss
  2. ptdbugsx.com · ptdbugs · x
  3. dbu.gsdbu.gs · rss
  4. dbu.gsdbu.gs · rss
  5. nefariousplan.comnefariousplan.com · rss
  6. nefariousplan.comnefariousplan.com · rss

Incidents like this, every morning

The ones that need action first, in a 3-minute read.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Get the next one tomorrow morning

One email a day with what changed, what to fix first and how.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click

Share it with your team

Whoever handles security with you should get it too.

LinkedIn X

Your colleague gets a confirmation request. Nothing is sent unless they confirm.

See all news

Read also

Before you go: get this every day

The HIFY Radar daily edition lands every morning with the incidents that need action. Free.

Free · 1 email a day, in the morning · no spam, unsubscribe in 1 click