Advisory record · GHSA-q7r4-hc83-hf2q

Gotenberg has ExifTool stdin argument injection via metadata value newlines (bypass of key sanitization fix)

CVSS 10.0 CriticalCriticalEPSS 0.023 · 83rd percentile

Critical, because:

  • CVSS score 10.0: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 30 Apr 2026, 17:27 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/gotenberg/gotenberg/v8Go<8.31.08.31.0
Identifiers
GHSA-q7r4-hc83-hf2q · CVE-2026-40281 · GO-2026-5572
Weakness (CWE)
CWE-88
Published
30 Apr 2026
Updated
25 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Gotenberg (Go module github.com/gotenberg/gotenberg/v8) versions before 8.31.0 are vulnerable. Metadata values written through the ExifTool metadata path are not sanitized, so a newline in a value can inject extra ExifTool arguments such as file name, directory, or link changes. The source says an unauthenticated attacker can use this to move or overwrite files in the container, and the source gives few details on the exact request needed. Upgrade to Gotenberg 8.31.0 or later.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
10.0 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.023, the 83rd percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 6 May 2026, 21:16 UTC Confirmed by NVD
  2. 31 Oct 2026, 15:06 UTC First seen by agentprime
  3. 31 Oct 2026, 15:06 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.