9.8

CVE-2026-42589: Gotenberg: Unauthenticated RCE via ExifTool Metadata Key Injection

Analyzed
AliasesGHSA-rqgh-gxv4-6657GO-2026-5636
Published 14-05-2026Last modified 14-05-2026

Vulnerability summary

CVE-2026-42589 is a critical (CVSS 9.8) vulnerability in gotenberg. EPSS estimates a 3.01% chance of exploitation in the next 30 days, higher than 87.4% 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
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
3.01%
0%100%
Low · -0.66 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. 14-05-2026
    PublishedVulnerability first disclosed.
  2. 14-05-2026
    Last modifiedVulnerability information updated.

Description

Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg's /forms/pdfengines/metadata/write HTTP endpoint accepts a JSON metadata object and passes its keys directly to ExifTool via the go-exiftool library. No validation is performed on key characters. A \n embedded in a JSON key splits the ExifTool stdin stream into a new argument line, allowing an attacker to inject arbitrary ExifTool flags — including -if, which evaluates Perl expressions. This achieves unauthenticated OS command execution in a single HTTP request. The response is HTTP 200 with a valid PDF, making the attack transparent to basic monitoring. This vulnerability is fixed in 8.31.0.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

3.01%

Chance of exploitation in the next 30 days

Percentile

87%

Versus all other CVEs

30-day change

Decrease -0.66 pp

From 3.67% 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)
  • v88.29.1 | All versions (No fix recorded)
Gotenberg1 product
Thecodingmachine1 product

3 vendors · 4 products

References

3 links