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

GotenbergはAPIベースのドキュメント変換ツールです。バージョン8.30.1およびそれ以前のバージョンでは、--webhook-deny-listおよび--api-download-from-deny-listフラグのデフォルトのプライベートIP拒否リストが、大文字と小文字を区別する正規表現(^https?://)を使用してURLスキームと一致させていました。Goのnet/url.Parse()はアウトバウンドTCP接続を確立する前にスキームを小文字に正規化するため、攻撃者はURLスキームの一部(例:HTTP://、HTTPS://、Http://)を大文字にすることで拒否リストを回避する可能性がありました。これにより、認証されていないリクエストがプライベートIPレンジやループバックアドレス、さらにはクラウドインスタンスのメタデータエンドポイント(例:http://169.254.169.254/latest/meta-data/)を含む内部ネットワークサービスに到達できる恐れがありました。この問題はバージョン8.31.0で修正されました。

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

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

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

NVD Vulnerability Information
CVE-2026-40280
Summary

Gotenberg is an API-based document conversion tool. In versions 8.30.1 and earlier, the default private-IP deny-lists for the --webhook-deny-list and --api-download-from-deny-list flags use a case-sensitive regular expression (^https?://) to match URL schemes. Because Go's net/url.Parse() normalizes the scheme to lowercase before establishing the outbound TCP connection, an attacker can bypass the deny-list by simply capitalizing part of the URL scheme (e.g., HTTP://, HTTPS://, or Http://). This allows unauthenticated requests to reach internal network services, including private IP ranges, loopback addresses, and cloud instance metadata endpoints such as HTTP://169.254.169.254/latest/meta-data/.

This bypasses the same security control that was patched in CVE-2026-27018.

This issue has been fixed in version 8.31.0.

Publication Date May 6, 2026, 5:16 a.m.
Registration Date May 7, 2026, 4:07 a.m.
Last Update May 9, 2026, 4:06 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:* 8.31.0
Related information, measures and tools
Common Vulnerabilities List