Skip to content
Back to search

CVE-2026-40281

CRITICAL
10.0NVD

Summary

generated automatically from NVD data

Gotenberg, a Docker-based stateless API for PDF files, is affected in versions up to 8.30.1 by an argument injection flaw (CWE-88) in its metadata write endpoint. Metadata keys are checked for control characters but values are not, so a newline in a value splits the ExifTool stdin line and lets an attacker inject pseudo-tags such as -FileName, -Directory, -SymLink and -HardLink; this bypasses the incomplete key-sanitization fix from v8.30.1. An unauthenticated attacker can move or rename processed PDFs, overwrite arbitrary files, or create symlinks and hard links in the container filesystem, and the CVSS v3.1 score is 10.0 (CRITICAL).

NVD description

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 key-sanitization fix introduced in v8.30.1. An unauthenticated attacker can rename or move any PDF being processed to an arbitrary path in the container filesystem, overwrite arbitrary files, or create symlinks and hard links at arbitrary paths.

Share:

EPSS · FIRST.org

2.1%probability of exploitation in the next 30 days

Higher than 82% of scored CVEs

EPSS (Exploit Prediction Scoring System) estimates, from observed exploitation activity, how likely a CVE is to be exploited in the next 30 days. It complements CVSS, which measures severity, not likelihood. Score of 2026-11-26, recomputed daily by FIRST.org.

In-depth analysis on cveo.tech

This CVE is covered in an article: context, affected versions and published fixes.

CVSS v3.1 Score

10.0
/ 10.0
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H

Information

Published
6 mai 2026
Updated
11 nov. 2026
Status
Analyzed
Source
security-advisories@github.com

Affected products

thecodingmachine gotenberg
Versions < 8.31.0

Bounds published by NVD: "< 8.4.27" means 8.4.27 is no longer vulnerable. The fixed release to install is in the vendor advisory.

Weaknesses (CWE)

CWE-88

Similar CVEs

Other vulnerabilities of type CWE-88

…

Know which CVEs hit the versions you run.

Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.