Vulnerabilities

Vulnerability · CVE-2026-42589

Gotenberg is a Docker-powered stateless API for PDF files.

Published May 14, 2026 · catalog updated Jun 23, 2026 · Gotenberg is a Docker-powered

Patch now

CVE-2026-42589 is in the CISA known-exploited catalog. Confirm Gotenberg is a Docker-powered against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Gotenberg is a Docker-powered).
  • No version range is stored. A customer cannot check an installed version against this record.
Severity
Critical9.8
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
3.67%
Remediation
Remediation guidance
Affected products
cpe thecodingmachine/gotenberg · vendor thecodingmachine gotenberg

Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg's /forms/pdfengines/metadata/write HTTP endpoint accepts a JSON metadata object and passes its keys directly to ExifTool via the go-exiftool library. No validation is performed on key characters. A \n embedded in a JSON key splits the ExifTool stdin stream into a new argument line, allowing an attacker to inject arbitrary ExifTool flags — including -if, which evaluates Perl expressions. This achieves unauthenticated OS command execution in a single HTTP request. The response is HTTP 200 with a valid PDF, making the attack transparent to basic monitoring. This vulnerability is fixed in 8.31.0.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe thecodingmachine/gotenbergversion unspecified
  • vendor thecodingmachine gotenbergversion unspecified

How to fix CVE-2026-42589

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2026-42589 is in the CISA known-exploited catalog. Confirm Gotenberg is a Docker-powered against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Affected version ranges are not on this record. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

What should an analyst verify?

CWE-78: OS Command Injection. EPSS 3.67%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. May 14, 2026 · NIST NVD

    Detected

    Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg's /forms/pdfengines/metadata/write HTTP endpoint accepts a JSON metadata object and passes its keys directly to ExifTool via the go-exiftool library. No validation is performed on key characters. A \n embedded in a JSON key splits the ExifTool stdin stream into a new argument line, allowing an attacker to inject

  2. Jun 17, 2026 · NIST NVD

    Updated

    Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg's /forms/pdfengines/metadata/write HTTP endpoint accepts a JSON metadata object and passes its keys directly to ExifTool via the go-exiftool library. No validation is performed on key characters. A \n embedded in a JSON key splits the ExifTool stdin stream into a new argument line, allowing an attacker to inject

  3. Jun 23, 2026 · CISA KEV

    Known exploited

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

  4. Jun 23, 2026 · VulnCheck KEV

    Updated

    Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg's /forms/pdfengines/metadata/write HTTP endpoint accepts a JSON metadata object and passes its keys directly to ExifTool via the go-exiftool library. No validation is performed on key characters. A embedded in a JSON key splits the ExifTool stdin stream into a new argument line, allowing an attacker to inject arb

Sources

  • CVE.orgVulnerability recordCVE-2026-42589

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-42589

    30-day exploitation probability 3.7%

    first.org
  • NIST NVDVulnerability recordCVE-2026-42589

    Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg's /forms/pdfengines/metadata/write HTTP endpoint accepts a JSON metadata object and passes its keys directly to ExifTool via the go-exiftool library. No validation is performed on key characters

    nvd.nist.gov
  • VulnCheck KEVConfirmed exploitationCVE-2026-42589

    Gotenberg is a Docker-powered stateless API for PDF files. Prior to 8.31.0, Gotenberg's /forms/pdfengines/metadata/write HTTP endpoint accepts a JSON metadata object and passes its keys directly to ExifTool via the go-exiftool library. No validation is performed on key characters

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.