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 81% 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-10-16, recomputed daily by FIRST.org.

In-depth analysis on cveo.tech

We've published a detailed analysis of this CVE — exploitation, IOCs and mitigation.

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
17 juin 2026
Status
Analyzed
Source
security-advisories@github.com

Affected products

thecodingmachine gotenberg
Versions : 8.31.0

Weaknesses (CWE)

CWE-88

Similar CVEs

Other vulnerabilities of type CWE-88

…

Monitor your products

Get automatic alerts for every new CVE affecting your equipment.

Enable monitoring