製品・ソフトウェアに関する情報
TheCodingMachineのGotenbergにおける複数の脆弱性
Title TheCodingMachineのGotenbergにおける複数の脆弱性
Summary

GotenbergはPDFファイル用のDockerベースのステートレスAPIです。8.32.0以前のバージョンでは、pdfengines/merge、pdfengines/split、libreoffice/convert、chromium/convert/url、chromium/convert/html、およびchromium/convert/markdownが匿名の呼び出し元からstampSource=pdf + stampExpression=/pathおよびwatermarkSource=pdf + watermarkExpression=/pathを受け入れていました。専用のスタンプ/ウォーターマークルートは、ソースタイプが画像またはPDFの場合にアップロードされたファイルを必要としますが、これら6つのルートはファイルがアップロードされた場合のみ式を上書きし、ファイルが添付されていないときはユーザー制御のパスをそのままにします。pdfcpuはそのパスを開き、そのページを出力PDFに合成して呼び出し元に返しました。攻撃者はGotenbergプロセスがコンテナ内のファイルシステムでアクセス可能な任意のPDFを読み取ることが可能でした。この脆弱性は8.32.0で修正されました。

Possible impacts 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 14, 2026, midnight
Registration Date May 20, 2026, 1:29 p.m.
Last Update May 20, 2026, 1:29 p.m.
CVSS3.0 : 警告
Score 5.3
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected System
TheCodingMachine
Gotenberg 8.32.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月20日]
  掲載
May 20, 2026, 1:29 p.m.

NVD Vulnerability Information
CVE-2026-42593
Summary

Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, pdfengines/merge, pdfengines/split, libreoffice/convert, chromium/convert/url, chromium/convert/html, and chromium/convert/markdown accept stampSource=pdf + stampExpression=/path and watermarkSource=pdf + watermarkExpression=/path from anonymous callers. The dedicated stamp/watermark routes require an uploaded file when the source type is image or pdf; these six routes only overwrite the expression when a file is uploaded, leaving the user-controlled path intact when no file is attached. pdfcpu opens the path and composites its pages onto the output PDF, which returns to the caller. An attacker reads any PDF the Gotenberg process can access on the container filesystem. This vulnerability is fixed in 8.32.0.

Publication Date May 15, 2026, 1:16 a.m.
Registration Date May 15, 2026, 4:25 a.m.
Last Update May 18, 2026, 10:01 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:* 8.32.0
Related information, measures and tools
Common Vulnerabilities List