Command Injection Affecting github.com/gotenberg/gotenberg/v8/pkg/modules/exiftool package, versions <8.31.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
3.01% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESEXIFTOOL-16438315
  • published7 May 2026
  • disclosed7 May 2026
  • creditS-Senhaji

Introduced: 7 May 2026

CVE-2026-42589  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade github.com/gotenberg/gotenberg/v8/pkg/modules/exiftool to version 8.31.0 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the pdfengines/metadata/write endpoint when JSON metadata keys containing newline characters are passed directly to ExifTool without validation. An attacker can execute arbitrary operating system commands by injecting specially crafted metadata keys in a single unauthenticated HTTP request.

CVSS Base Scores

version 4.0
version 3.1