TheCodingMachineのGotenbergにおける複数の脆弱性
タイトル TheCodingMachineのGotenbergにおける複数の脆弱性
概要

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で修正されました。

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

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

公表日 2026年5月14日0:00
登録日 2026年5月20日13:29
最終更新日 2026年5月20日13:29
CVSS3.0 : 警告
スコア 5.3
ベクター CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
影響を受けるシステム
TheCodingMachine
Gotenberg 8.32.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年05月20日]
  掲載
2026年5月20日13:29

NVD脆弱性情報
CVE-2026-42593
概要

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.

公表日 2026年5月15日1:16
登録日 2026年5月15日4:25
最終更新日 2026年5月18日22:01
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:* 8.32.0
関連情報、対策とツール
共通脆弱性一覧