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

GotenbergはPDFファイルのためのDockerベースのステートレスAPIです。バージョン8.32.0以前の/forms/chromium/convert/urlおよび/forms/chromium/screenshot/urlルートは、匿名の呼び出し元からurl=file:///tmp/...を受け入れていました。デフォルトのChromiumの拒否リストは意図的にfile:///tmp/を除外しており、HTML/Markdownルートが自身のリクエストのローカル資産を読み込めるようにしています。また、それらのルートはリクエストごとにAllowedFilePrefixesガードを適用し、読み取りの範囲を制限しています。しかし、URLルートはAllowedFilePrefixesを設定しないため、このスコープガードを静かにスキップしてしまいます。これにより、攻撃者は/tmp/を列挙し、Gotenbergのリクエストごとの作業ディレクトリを辿って他の進行中の変換の元ファイルをレンダリング済みPDF出力として読み取ることが可能になります。本脆弱性はバージョン8.32.0で修正されました。

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

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

Publication Date May 14, 2026, midnight
Registration Date May 20, 2026, 1:28 p.m.
Last Update May 20, 2026, 1:28 p.m.
CVSS3.0 : 警告
Score 5.9
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/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:28 p.m.

NVD Vulnerability Information
CVE-2026-42597
Summary

Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, the /forms/chromium/convert/url and /forms/chromium/screenshot/url routes accept url=file:///tmp/... from anonymous callers. The default Chromium deny-list intentionally exempts file:///tmp/ so HTML/Markdown routes can load their own request-local assets, and those routes apply a per-request AllowedFilePrefixes guard to scope the read. The URL routes never set AllowedFilePrefixes, so the scope guard silently skips. Alice enumerates /tmp/, walks Gotenberg's per-request working directories, and reads the raw source files of other in-flight conversions as rendered PDF output. 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:02 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