<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Gotenberg — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/gotenberg/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata — refreshed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Thu, 30 Apr 2026 17:24:55 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/gotenberg/feed.xml" rel="self" type="application/rss+xml"/><item><title>Gotenberg Unauthenticated SSRF Vulnerability</title><link>https://feed.craftedsignal.io/briefs/2026-05-gotenberg-ssrf/</link><pubDate>Thu, 30 Apr 2026 17:24:55 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-gotenberg-ssrf/</guid><description>Gotenberg version 8.29.1 is vulnerable to Server-Side Request Forgery (SSRF) due to an unfiltered webhook URL, allowing unauthenticated attackers to force outbound HTTP POST requests to arbitrary destinations, enabling internal network probing and interaction with internal services.</description><content:encoded><![CDATA[<p>Gotenberg version 8.29.1, as distributed in the default <code>gotenberg/gotenberg:8</code> Docker image, contains an unauthenticated Server-Side Request Forgery (SSRF) vulnerability. Discovered on April 4, 2026, this flaw allows an attacker with network access to the Gotenberg instance to specify an arbitrary URL via the <code>Gotenberg-Webhook-Url</code> request header, forcing the server to make outbound HTTP POST requests. This is a blind SSRF vulnerability, where the attacker cannot directly read the response body, but can infer information based on the success or failure of the request. The vulnerability exists due to an insecure default in the <code>FilterDeadline</code> function, which, when unconfigured, permits all webhook URLs. The impact includes internal network probing, forced POST requests to internal services, and cloud metadata interaction.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies a vulnerable Gotenberg instance exposed on the network (default port 3000).</li>
<li>The attacker crafts an HTTP POST request to the <code>/forms/chromium/convert/url</code> endpoint.</li>
<li>The attacker includes the <code>Gotenberg-Webhook-Url</code> header, setting it to an internal IP address and port (e.g., <code>http://192.168.1.10:8080/</code>).</li>
<li>The attacker may also set the <code>Gotenberg-Webhook-Error-Url</code> to an attacker-controlled server to monitor for request failures.</li>
<li>Gotenberg&rsquo;s <code>FilterDeadline</code> function fails to properly validate the supplied webhook URL due to an insecure default.</li>
<li>Gotenberg makes an outbound HTTP POST request to the specified internal IP address and port using the retryablehttp client, potentially retrying the request up to 4 times.</li>
<li>If the internal target responds with a 2xx status code, the attacker infers that the host and port are open and accepting POST requests. The error URL is NOT called.</li>
<li>If the internal target responds with a 4xx/5xx status code, times out, or rejects the connection, the attacker receives a request at the <code>Gotenberg-Webhook-Error-Url</code> endpoint, indicating the port is likely closed or the service is unavailable.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The SSRF vulnerability in Gotenberg 8.29.1 allows attackers to probe internal networks, potentially mapping out internal infrastructure by observing the success or failure of requests. Attackers can also force Gotenberg to send POST requests to internal services that perform actions upon receiving such requests, potentially triggering unintended behavior. Although the attacker cannot directly read response bodies, the ability to determine reachability and trigger actions makes this a significant security risk. The retry mechanism amplifies the probing effect, as each request generates up to 4 attempts.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the recommended configuration to either set <code>--env GOTENBERG_API_WEBHOOK_ALLOW_LIST</code> or <code>--env GOTENBERG_API_WEBHOOK_DENY_LIST</code> to restrict or block internal ranges to mitigate the SSRF vulnerability.</li>
<li>Monitor web server logs for POST requests to <code>/forms/chromium/convert/url</code> with the <code>Gotenberg-Webhook-Url</code> header containing suspicious internal IP addresses or domains using the provided Sigma rule.</li>
<li>Deploy the Sigma rule to detect suspicious outbound network connections originating from the Gotenberg process to internal IP ranges or cloud metadata endpoints.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>ssrf</category><category>gotenberg</category><category>cve-2026-39383</category></item><item><title>Gotenberg ExifTool Argument Injection via Metadata Values</title><link>https://feed.craftedsignal.io/briefs/2024-01-02-gotenberg-exiftool-injection/</link><pubDate>Tue, 02 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-02-gotenberg-exiftool-injection/</guid><description>Gotenberg version 8.30.1 and earlier is vulnerable to argument injection, where an unauthenticated attacker can inject arbitrary ExifTool pseudo-tags via newline characters in metadata values, leading to arbitrary file manipulation within the container filesystem.</description><content:encoded><![CDATA[<p>Gotenberg, a Docker-based solution for converting various document formats to PDF, is vulnerable to an argument injection flaw affecting versions 8.30.1 and earlier. This vulnerability stems from insufficient sanitization of metadata values passed to the ExifTool during PDF processing. Specifically, the application fails to properly sanitize newline characters within metadata values. By exploiting this flaw, an unauthenticated attacker can inject arbitrary ExifTool pseudo-tags, such as <code>-FileName</code>, <code>-Directory</code>, <code>-SymLink</code>, and <code>-HardLink</code>, allowing for unauthorized file manipulation, including renaming, moving, overwriting, and creating symbolic or hard links to files within the container&rsquo;s filesystem. The vulnerability is a bypass of an incomplete key sanitization fix introduced in version 8.30.1, highlighting the importance of thorough input validation.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a malicious PDF file or uses an existing PDF.</li>
<li>The attacker injects a newline character followed by an ExifTool pseudo-tag (e.g., <code>-FileName=/tmp/inject_proof</code>) into a metadata value (e.g., the &lsquo;Title&rsquo; field).</li>
<li>The attacker sends the PDF, along with the crafted metadata, to the Gotenberg <code>/forms/pdfengines/metadata/write</code> endpoint via a POST request.</li>
<li>Gotenberg&rsquo;s <code>WriteMetadata</code> function in <code>pkg/modules/exiftool/exiftool.go</code> processes the metadata.</li>
<li>The unsanitized metadata value is passed to <code>go-exiftool</code>&rsquo;s <code>SetString</code> function.</li>
<li><code>go-exiftool</code> writes the key-value pair to ExifTool&rsquo;s stdin using <code>fmt.Fprintln(e.stdin, &quot;-&quot;+k+&quot;=&quot;+str)</code>.</li>
<li>The newline character splits the ExifTool stdin line into two separate arguments, injecting the attacker&rsquo;s pseudo-tag.</li>
<li>ExifTool executes the injected command (e.g., moving the PDF to <code>/tmp/inject_proof</code>).</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an unauthenticated attacker to rename or move any PDF being processed to an arbitrary path within the container filesystem, which runs as root by default. This also enables overwriting arbitrary files (e.g., corrupting the <code>/etc/passwd</code> file), creating symlinks, and creating hard links. The container filesystem becomes fully exposed to arbitrary file manipulation.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply value sanitization parallel to the existing key check in <code>WriteMetadata</code> as described in the advisory.</li>
<li>Implement detection rules to identify attempts to exploit the vulnerability by monitoring for suspicious characters in HTTP requests to the <code>/forms/pdfengines/metadata/write</code> endpoint using the provided Sigma rule.</li>
<li>Monitor for unexpected file modifications within the Gotenberg container, especially the creation or modification of symbolic links and hard links, using <code>file_event</code> log source.</li>
<li>Upgrade to a patched version of Gotenberg that addresses this vulnerability to prevent exploitation (CVE-2026-40281).</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>argument-injection</category><category>vulnerability</category><category>container</category></item></channel></rss>