BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-40281 in Thecodingmachine Gotenberg

Critical 9.1

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 in...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.1
EPSS2.1%
EPSS percentile82th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Thecodingmachine Gotenberg < 8.31.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-40281
BreachSpider IDBS-2026-GLOBAL-152216-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Published2026-05-06
Last modified2026-11-11
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-88: CWE-88

Related attack patterns (CAPEC)

CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-88

CAPEC-174 Flash Parameter Injection via CWE-88

CAPEC-460 HTTP Parameter Pollution (HPP) via CWE-88

CAPEC-88 OS Command Injection via CWE-88

CAPEC-137 Parameter Injection via CWE-88

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2026-40281 affects Gotenberg versions 8.30.1 and earlier, where unsanitized metadata values in the metadata write endpoint can lead to command injection via ExifTool pseudo-tags.

An attacker can inject arbitrary ExifTool pseudo-tags, such as -FileName, -Directory, and -SymLink, by including newline characters in metadata values. This can lead to unauthorized file operations and potential remote code execution.

Questions

What is CVE-2026-40281?

CVE-2026-40281 affects Gotenberg versions 8.30.1 and earlier, where unsanitized metadata values in the metadata write endpoint can lead to command injection via ExifTool pseudo-tags.

What is the CVSS score for CVE-2026-40281?

CVE-2026-40281 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H. EPSS: 2.1%.

Is CVE-2026-40281 actively exploited?

No confirmed active exploitation of CVE-2026-40281 as of 2026-11-12.

How do I remediate CVE-2026-40281?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2026-40281?

CVE-2026-40281 affects Thecodingmachine Gotenberg.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Thecodingmachine","product":"Gotenberg","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-11.