10

CVE-2026-40281: Gotenberg vulnerable to argument injection via newlines in ExifTool metadata values

Analyzed
AliasesGHSA-q7r4-hc83-hf2qGO-2026-5572
Published 06-05-2026Last modified 07-05-2026

Vulnerability summary

CVE-2026-40281 is a critical (CVSS 10.0) vulnerability in gotenberg. EPSS estimates a 2.26% chance of exploitation in the next 30 days, higher than 82.9% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
10.0/10
010
Critical · v3.1 (CVE.org)
EPSS score
2.26%
0%100%
Low · +0.16 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 06-05-2026
    PublishedVulnerability first disclosed.
  2. 07-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

2.26%

Chance of exploitation in the next 30 days

Percentile

83%

Versus all other CVEs

30-day change

Increase +0.16 pp

From 2.09% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Gotenberg

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/gotenberg/gotenberg2 products
  • v7All versions (No fix recorded)
  • v8< 8.31.0
Gotenberg1 product
Thecodingmachine1 product

3 vendors · 4 products

References

5 links