Skip to content
OpenAdvisories
High · 8.2 CVE-2026-40893 EUVD-2026-30307GHSA-62p3-hvxx-fxg4GO-2026-5162

Gotenberg: ExifTool Dangerous Tag Blocklist Bypass via Group-Prefixed Tag Names Allows Arbitrary File Rename and Move

Published May 14, 2026 · Updated May 14, 2026 · Assigned by GitHub_M

Description

Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg only checks if the tag is exactly FileName, so System:FileName slips right through and ExifTool happily renames the file. This allows remote attackers to move, rename, and change permissions for arbitrary files. This vulnerability is fixed in 8.31.0.

Affected products

VendorProductAffectedFixed
gotenberg gotenberg < 8.31.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gotenberg/gotenberg/v7 all versions — GO-2026-5162
Go github.com/gotenberg/gotenberg/v8 <= 8.30.1 — GHSA-62p3-hvxx-fxg4
Go github.com/gotenberg/gotenberg/v8 all versions — GO-2026-5162

Advisories 1

References