Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-40281: Gotenberg is a Docker-powered stateless API for PDF files

71
This week
CRITICAL 10.0REMOTEWATCHLISTUPGRADE

CVE-2026-40281 is a critical-severity flaw (CVSS 10.0) affecting gotenberg. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Gotenberg is a Docker-powered stateless API for PDF files. In versions 8.30.1 and earlier, the metadata write endpoint validates metadata keys for control characters but leaves metadata values unsanitized. A newline character in a metadata value splits the ExifTool stdin line into two separate arguments, allowing injection of arbitrary ExifTool pseudo-tags such as -FileName, -Directory, -SymLink, and -HardLink. This is a bypass of the incomplete

Why this priority

  • Critical severity
  • Public exploit reference
  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score10.0 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance2.3% (top 17%)
CISA exploited listNo
WeaknessCWE-88
Published2026-05-06
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: thecodingmachine

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

thecodingmachine gotenberg UPGRADE
Affected: < 8.31.0
Fixed in: 8.31.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy gotenberg || rpm -q gotenberg || gotenberg --version
2. UPGRADE to 8.31.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade gotenberg
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade gotenberg
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.

Exact fixes by distribution

Go · github.com/gotenberg/gotenberg/v8 · FIXED · 8.31.0 · vulnerable: <= 8.30.1 · source
go get github.com/gotenberg/gotenberg/v8@v8.31.0 go list -m github.com/gotenberg/gotenberg/v8
Fedora 46 · fzssh · FIXED · 1.4.0-2.fc46 · FEDORA-2026-8004fcd067 · source
sudo dnf upgrade --advisory=FEDORA-2026-8004fcd067

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-40281?

gotenberg: upgrade to 8.31.0. Exact commands for each OS are on this page.

Is CVE-2026-40281 being exploited?

CVE-2026-40281 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-40281 affect?

CVE-2026-40281 affects gotenberg. Severity is critical (CVSS 10.0). Gotenberg is a Docker-powered stateless API for PDF files. In versions 8.30.1 and earlier, the metadata write endpoint validates metadata keys for control characters but leaves metadata values unsanitized. A newline character in a metadata

How urgent is CVE-2026-40281?

Priority 71/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist

Software pages

Docker vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.