github.com/gotenberg/gotenberg/v8

CVE-2026-44829

CVE-2026-44829 is a high-severity path traversal vulnerability in github.com/gotenberg/gotenberg/v8 (go), affecting versions <= 8.32.0. It is fixed in 8.33.0.

Key facts
CVSS score
8.8
High
Attack vector
Network
Issuing authority
GitHub Advisory Database
Affected package
github.com/gotenberg/gotenberg/v8
Fixed in
8.33.0
Disclosed
2026

Summary

Summary filepath.Base on the Linux container does not strip backslashes (\), because \ is only a path separator on Windows. A multipart filename like ..\..\..\..\Windows\System32\evil.pdf survives Gotenberg's input sanitisation and lands verbatim as the zip entry name when a multi-output route returns its result as a zip (e.g. /forms/pdfengines/split). Windows zip extractors interpret \ as a path separator and write the file outside the extraction directory. Details pkg/modules/api/context.go:434, 472: On Linux, filepath.Base("..\\..\\..\\..\\Windows\\System32\\evil.pdf") returns the same string verbatim, there are no / separators to find. The original filename then flows to ctx.diskToOriginal (pkg/modules/api/context.go:459, 393) and through pkg/modules/pdfengines/routes.go:287-322 (SplitPdfStub), which builds: Finally pkg/modules/api/context.go:617-642 constructs the zip via archives.FilesFromDisk + archives.Zip{}.Archive. mholt/[email protected]/archives.go:155-184 (nameOnDiskToNameInArchive) returns path.Join(rootInArchive, ""), the map value verbatim. Suggested fix The same sanitiser closes Advisory 8. PoC Prerequisite: pip install requests. curl -F filename= mangles backslashes on some shells, so we use Python's requests to deliver the malicious filename byte-perfect. Observed output: The trailing hex 2e2e5c 2e2e5c 2e2e5c 2e2e5c 57696e646f7773 5c 53797374656d3332 5c 6576696c5f decodes to ..\..\..\..\Windows\System32\evil. (Python's ZipFile.namelist() would normally hide this by displaying /, but info.origfilename returns the literal backslash form.) To see the Windows-side traversal effect on a Windows host, run: PowerShell collapses the .. parents but creates the Windows\System32\ subdirectory tree. 7-Zip and WinRAR with default settings honor the .. parents and traverse out of the extraction directory entirely. Impact Arbitrary file write on a Windows-side consumer that extracts the returned zip (Windows Explorer, 7-Zip, WinRAR, .NET ZipFile.ExtractToDirectory). Reachable via every multi-output Gotenberg route, /forms/pdfengines/split, /forms/pdfengines/flatten//encrypt//embed//watermark//stamp//rotate (when called with multiple input PDFs), /forms/libreoffice/convert with multiple inputs, /forms/pdfengines/convert. Also reachable via downloadFrom upstream Content-Disposition: filename="..\\..\\evil.exe", the filename flows through the same ctx.diskToOriginal map at pkg/modules/api/context.go:354, 393.

Impact

What is path traversal?

Input manipulates file paths to reach files outside the intended directory, such as configuration or credential files. Typical impact: unauthorized file read or write outside the intended directory.

Severity and exposure

CVE-2026-44829 has a CVSS score of 8.8 (High). The vector is network-reachable, no privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (8.33.0). Upgrading removes the vulnerable code path.

Affected versions

go

  • github.com/gotenberg/gotenberg/v8 (<= 8.32.0)

Security releases

  • github.com/gotenberg/gotenberg/v8 → 8.33.0 (go)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's runtime-powered SCA identifies whether CVE-2026-44829 is reachable in your applications. Explore open-source security for your team.

See if CVE-2026-44829 is reachable in your applications. Get a demo

Remediation advice

Upgrade github.com/gotenberg/gotenberg/v8 to 8.33.0 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2026-44829

What is CVE-2026-44829?

CVE-2026-44829 is a high-severity path traversal vulnerability in github.com/gotenberg/gotenberg/v8 (go), affecting versions <= 8.32.0. It is fixed in 8.33.0. Input manipulates file paths to reach files outside the intended directory, such as configuration or credential files.

How severe is CVE-2026-44829?

CVE-2026-44829 has a CVSS score of 8.8 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which versions of github.com/gotenberg/gotenberg/v8 are affected by CVE-2026-44829?

github.com/gotenberg/gotenberg/v8 (go) versions <= 8.32.0 is affected.

Is there a fix for CVE-2026-44829?

Yes. CVE-2026-44829 is fixed in 8.33.0. Upgrade to this version or later.

Is CVE-2026-44829 exploitable, and should I be worried?

Whether CVE-2026-44829 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2026-44829 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2026-44829?

Upgrade github.com/gotenberg/gotenberg/v8 to 8.33.0 or later.

Stop the waste.
Protect your environment with Kodem.