CVE-2024-21527
CVE-2024-21527 in github.com/gotenberg/gotenberg
Also known as GO-2024-2996
Mitigation
- Upgrade github.com/gotenberg/gotenberg/v8 to 8.1.0 or later.
Who should check
- Projects that depend on Go package github.com/gotenberg/gotenberg/v7
- Projects that depend on Go package github.com/gotenberg/gotenberg/v8 (< 8.1.0)
- Anyone running github.com/gotenberg/gotenberg/v8/pkg/gotenberg < 8.1.0
- Anyone running github.com/gotenberg/gotenberg/v8/pkg/modules/chromium < 8.1.0
- Anyone running github.com/gotenberg/gotenberg/v8/pkg/modules/webhook < 8.1.0
Vulnerability facts
- Affected
- github.com/gotenberg/gotenberg/v7; github.com/gotenberg/gotenberg/v8 < 8.1.0
- Fixed in
- 8.1.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.8 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:POpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- Exploit maturity: Proof of concept
- EPSS
- 0.85% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-918
- Modified
Description
Versions of the package github.com/gotenberg/gotenberg/v8/pkg/gotenberg before 8.1.0; versions of the package github.com/gotenberg/gotenberg/v8/pkg/modules/chromium before 8.1.0; versions of the package github.com/gotenberg/gotenberg/v8/pkg/modules/webhook before 8.1.0 are vulnerable to Server-side Request Forgery (SSRF) via the /convert/html endpoint when a request is made to a file via localhost, such as <iframe src="\\localhost/etc/passwd">. By exploiting this vulnerability, an attacker can achieve local file inclusion, allowing of sensitive files read on the host system. Workaround An alternative is using either or both --chromium-deny-list and --chromium-allow-list flags.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/gotenberg/gotenberg/v7 | — | — | osv |
| Go github.com/gotenberg/gotenberg/v8 | < 8.1.0 | 8.1.0 | osv |
| github.com/gotenberg/gotenberg/v8/pkg/gotenberg | < 8.1.0 | — | cvelist |
| github.com/gotenberg/gotenberg/v8/pkg/modules/chromium | < 8.1.0 | — | cvelist |
| github.com/gotenberg/gotenberg/v8/pkg/modules/webhook | < 8.1.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-21527. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-21527.md Affected: github.com/gotenberg/gotenberg/v7; github.com/gotenberg/gotenberg/v8 < 8.1.0 Fixed in: 8.1.0 Steps: 1. Search this machine and project for github.com/gotenberg/gotenberg/v7 (Go), github.com/gotenberg/gotenberg/v8 (Go), github.com/gotenberg/gotenberg/v8/pkg/gotenberg, github.com/gotenberg/gotenberg/v8/pkg/modules/chromium, github.com/gotenberg/gotenberg/v8/pkg/modules/webhook: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGGOTENBERG-7537081
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESCHROMIUM-7537082
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOTENBERGGOTENBERGV8PKGMODULESWEBHOOK-7537083
- https://github.com/gotenberg/gotenberg/releases/tag/v8.1.0
- https://gist.github.com/filipochnik/bc88a3d1cc17c07cec391ee98e1e6356
FAQ
Is CVE-2024-21527 being exploited?
There is no confirmed exploitation: CVE-2024-21527 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-21527?
High: CVSS 8.8 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-21527?
github.com/gotenberg/gotenberg/v7; github.com/gotenberg/gotenberg/v8 < 8.1.0.
Is there a fix for CVE-2024-21527?
Yes. Fixed in 8.1.0. Upgrade github.com/gotenberg/gotenberg/v8 to 8.1.0 or later.
How do I check if I'm affected by CVE-2024-21527?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.