CVE-2026-40280

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Gotenberg es una herramienta de conversión de documentos basada en API. En las versiones 8.30.1 y anteriores, las listas de denegación de IP privadas predeterminadas para las banderas --webhook-deny-list y --api-download-from-deny-list utilizan una expresión regular sensible a mayúsculas y minúsculas (^https?://) para coincidir con los esquemas de URL. Debido a que net/url.Parse() de Go normaliza el esquema a minúsculas antes de establecer la conexión TCP saliente, un atacante puede eludir la lista de denegación simplemente capitalizando parte del esquema de URL (p. ej., HTTP://, HTTPS:// o Http://). Esto permite que las solicitudes no autenticadas alcancen servicios de red internos, incluyendo rangos de IP privadas, direcciones de bucle invertido y puntos finales de metadatos de instancias en la nube como HTTP://169.254.169.254/latest/meta-data/. Esto elude el mismo control de seguridad que fue parcheado en CVE-2026-27018. Este problema ha sido solucionado en la versión 8.31.0.

08 May 2026, 19:06

Type Values Removed Values Added
First Time Thecodingmachine
Thecodingmachine gotenberg
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References () https://github.com/advisories/GHSA-jjwv-57xh-xr6r - () https://github.com/advisories/GHSA-jjwv-57xh-xr6r - Not Applicable
References () https://github.com/gotenberg/gotenberg/commit/3f01ca18d3cc21375a1e2da4b5a3f261c8548e47 - () https://github.com/gotenberg/gotenberg/commit/3f01ca18d3cc21375a1e2da4b5a3f261c8548e47 - Patch
References () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-5q7p-7jgv-ww56 - () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-5q7p-7jgv-ww56 - Exploit, Mitigation, Vendor Advisory
CPE cpe:2.3:a:thecodingmachine:gotenberg:*:*:*:*:*:*:*:*

06 May 2026, 19:16

Type Values Removed Values Added
References () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-5q7p-7jgv-ww56 - () https://github.com/gotenberg/gotenberg/security/advisories/GHSA-5q7p-7jgv-ww56 -

05 May 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-05 20:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-40280

Mitre link : CVE-2026-40280

CVE.ORG link : CVE-2026-40280


JSON object : View

Products Affected

thecodingmachine

  • gotenberg
CWE
CWE-918

Server-Side Request Forgery (SSRF)