Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
gotenberg gotenberg
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Gotenberg是Gotenberg开源的一个开发人员友好的 API。用于将多种文档格式转换为 PDF 文件。 Gotenberg 8.31.0之前版本存在操作系统命令注入漏洞,该漏洞源于对JSON元数据对象键字符验证不足,允许攻击者注入ExifTool标志,导致未经身份验证的操作系统命令执行。

CVSS 9.8 · Critical EPSS 3.01% · P86

Public Exploits 1

Affected Version Matrix 1

VendorProduct Version RangeStatus
gotenberg gotenberg < 8.31.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-42589

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Gotenberg: Unauthenticated RCE via ExifTool Metadata Key Injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Gotenberg 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gotenberg是Gotenberg开源的一个开发人员友好的 API。用于将多种文档格式转换为 PDF 文件。 Gotenberg 8.31.0之前版本存在操作系统命令注入漏洞,该漏洞源于对JSON元数据对象键字符验证不足,允许攻击者注入ExifTool标志,导致未经身份验证的操作系统命令执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gotenberg gotenberg < 8.31.0 -

II. Public POCs for CVE-2026-42589

# POC Description Source Link Shenlong Link
1 Gotenberg < 8.31.0 contains a command injection caused by lack of validation on JSON metadata keys in /forms/pdfengines/metadata/write endpoint, letting unauthenticated attackers execute OS commands, exploit requires crafted HTTP request. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42589.yaml POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42589

登录查看更多情报信息。

Vendor Advisories for CVE-2026-42589 (1)

Same Patch Batch · gotenberg · 2026-05-14 · 10 CVEs total

CVE-2026-42596 9.4 CRITICAL Gotenberg: Unauthenticated SSRF via default deny-list bypass in downloadFrom and webhook
CVE-2026-42595 8.6 HIGH Gotenberg: Server-Side Request Forgery via Chromium URL Endpoint with Redirect-Based Deny-
CVE-2026-42591 8.2 HIGH Gotenberg: Server-Side Request Forgery (SSRF) in github.com/gotenberg/gotenberg/v8
CVE-2026-42590 8.2 HIGH Gotenberg: ExifTool group-prefix syntax bypasses dangerous-tag blocklist
CVE-2026-40893 8.2 HIGH Gotenberg: ExifTool Dangerous Tag Blocklist Bypass via Group-Prefixed Tag Names Allows Arb
CVE-2026-42594 7.5 HIGH Gotenberg: Unauthenticated denial of service via echo.Context pool reuse in webhook async
CVE-2026-42597 5.9 MEDIUM Gotenberg: Chromium URL conversion routes read arbitrary files under /tmp via file:// sche
CVE-2026-42593 5.3 MEDIUM Gotenberg: Arbitrary PDF read via stampExpression and watermarkExpression in merge, split,
CVE-2026-42592 5.3 MEDIUM Gotenberg: DNS rebinding bypasses SSRF validation on Chromium URL conversion routes

IV. Related Vulnerabilities

V. Comments for CVE-2026-42589

No comments yet


Leave a comment