製品・ソフトウェアに関する情報
TheCodingMachineのGotenbergにおけるサーバサイドのリクエストフォージェリの脆弱性
Title TheCodingMachineのGotenbergにおけるサーバサイドのリクエストフォージェリの脆弱性
Summary

GotenbergはDockerを利用したステートレスのPDFファイル用APIです。バージョン8.32.0以前のGotenbergのChromiumのURLからPDFへのエンドポイント(/forms/chromium/convert/url)には、HTTP/HTTPSベースのSSRFに対するデフォルトの保護がありません。デフォルトの拒否リストの正規表現はfile:// URIのみをブロックします。認証されていない攻撃者は、Chromiumをループバック、RFC 1918範囲、クラウドのメタデータエンドポイントを含む任意の内部IPに向け、その応答をPDFとして受け取ることが可能です。さらに、運用者がカスタムの拒否リストを設定していても、HTTPリダイレクトを介して保護が回避されます。GotenbergのChromiumインスタンスは、攻撃者が制御する外部URLからの302リダイレクトを内部ターゲットに従い、リダイレクト先を拒否リストと再検証しません。この脆弱性はバージョン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 8.6
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/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:29 p.m.

NVD Vulnerability Information
CVE-2026-42595
Summary

Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.32.0, Gotenberg's Chromium URL-to-PDF endpoint (/forms/chromium/convert/url) has no default protection against HTTP/HTTPS-based SSRF. The default deny-list regex only blocks file:// URIs. An unauthenticated attacker can point Chromium at any internal IP — including loopback, RFC 1918 ranges, and cloud metadata endpoints — and receive the response rendered as a PDF. Additionally, even when operators configure a custom deny-list, the protection is bypassed via HTTP redirects. Gotenberg's Chromium instance follows 302 redirects from an attacker-controlled external URL to internal targets without re-validating the redirect destination against the deny-list. 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