Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister low-TTL domain resolving to public IP
-
DeliveryForge Origin header, craft cert-like allowed path
-
ExploitProxy validates hostname as public
-
ExecutionDNS rebinds to internal/metadata address on fetch
-
ImpactRelay internal response body (up to 10MB) to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the BentoPDF certificate/timestamp CORS proxy (cloudflare/cors-proxy-worker.js) to be deployed on a runtime OTHER than Cloudflare Workers (e.g., workerd, Node, or another runtime inside a cloud VPC) whose execution environment can actually route to internal/reserved/metadata addresses - on the default Cloudflare edge deployment the flaw is not exploitable because there is no route to private destinations. The attacker must control a domain's DNS with a very low TTL to win the rebinding race between the isPrivateOrReservedHost() check and fetch()'s own resolution, and must supply a path matching ALLOWED_PATH_PATTERNS (a certificate-like path). The forgeable Origin header and, in deployments without PROXY_SECRET, the skipped signature check remove any authentication barrier; where PROXY_SECRET is set it is only anti-abuse (it ships in the public client bundle) and does not stop a determined attacker. Limiting factors: affected versions 2.8.6 and earlier (fixed in 2.8.7), non-default off-Cloudflare hosting, and the DNS-rebinding timing race. |
| Impact | This is a real but heavily deployment-gated SSRF (CWE-918). The vendor CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L = 8.6) treats it as network-reachable, unauthenticated, and low-complexity, which is why it scores High. However, the advisory itself states the critical qualifier: on the DEFAULT Cloudflare Worker deployment the flaw is NOT exploitable, because Cloudflare's edge has no network route to RFC1918/loopback/link-local or the 169.254.169.254 metadata endpoint - a successful DNS rebind reaches nothing. Exploitation is only meaningful when the Worker is run OFF Cloudflare (workerd, Node, or another runtime inside a cloud VPC) that can actually reach internal addresses. There is no EPSS score, no CISA KEV listing, and no public exploit code identified at time of analysis, so this is not confirmed to be under active exploitation. The AC:L rating is also arguable: real exploitation requires winning a DNS-rebinding race with a low-TTL attacker-controlled domain, which pushes practical complexity toward AC:H. Net: a high-CVSS number that overstates real-world risk for the common (Cloudflare) deployment, but a genuine internal-network/metadata read risk for self-hosters running the proxy off Cloudflare without egress filtering. Prioritize only if you self-host the CORS proxy on a non-Cloudflare runtime inside a network with reachable internal services. |
| Exploit ScenarioDerived | An attacker registers a domain with a very low DNS TTL and a certificate-like URL path that satisfies ALLOWED_PATH_PATTERNS, then sends it to a self-hosted BentoPDF CORS proxy running off Cloudflare (e.g., in a cloud VPC), forging the browser Origin header and relying on the absence of PROXY_SECRET to skip the signature check. The hostname first resolves to a public IP to pass isPrivateOrReservedHost(), then rebinds to an internal or 169.254.169.254 metadata address by the time fetch() re-resolves, and the proxy relays up to 10 MB of the internal response back to the attacker. No public exploit code is currently identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 24, 2026
Server-side request forgery in the BentoPDF certificate/timestamp CORS proxy (cloudflare/cors-proxy-worker.js) allows unauthenticated remote attackers to relay requests to internal, reserved, or cloud-metadata destinations when the Worker is hosted on a non-Cloudflare runtime. The flaw is a time-of-check/time-of-use gap: isPrivateOrReservedHost() validates the supplied hostname separately from the DNS resolution performed by fetch(targetUrl), so an attacker who controls a domain's DNS with a very low TTL can pass validation with a public address and have the fetch land on a private one; a certificate-like path satisfies ALLOWED_PATH_PATTERNS, and the browser-oriented Origin header can simply be forged by a direct client, with PROXY_SECRET being only an anti-abuse measure that ships in the public client bundle. Affected versions are 2.8.6 and earlier, fixed in 2.8.7; no public exploit code or confirmed active exploitation was identified at time of analysis, and the assessment rates exploitation as high-complexity because it is gated on a non-default off-Cloudflare deployment that can actually route to internal addresses plus a DNS-rebinding timing race.
RemediationAI
Vendor-released patch: upgrade BentoPDF to 2.8.7, which is the release referenced by the advisory (https://github.com/alam00000/bentopdf/releases/tag/v2.8.7) and contains the fix commits 45496fcd2ed6e02dcdde0d3839cc5024c091760c and 58cd1a8893bfe06e4a59a72adc2e7db00a8b9266; full details are in GHSA-5xjf-rr5x-pcfj. Because the residual DNS-rebinding gap cannot be fully closed in application code on non-Cloudflare runtimes, operators who self-host the CORS proxy off Cloudflare (workerd, Node, or inside a cloud VPC) must add mandatory network-level egress filtering in front of the proxy, blocking outbound connections to RFC1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8), link-local (169.254.0.0/16, including the 169.254.169.254 metadata endpoint), and their IPv6 equivalents - the trade-off is that this egress firewall is an infrastructure requirement the Worker itself cannot enforce, and misconfiguration leaves the SSRF fully reachable. If the proxy must stay on Cloudflare Workers, the default edge egress has no route to private destinations and the flaw is not exploitable there, so migrating the Worker back to that platform is an effective compensating control. Setting PROXY_SECRET is worth doing only to deter casual abuse, not as a security boundary, since the secret ships in the public client bundle and is not treated as authentication by the vendor; do not rely on the Origin allow-list as a control either, because the Origin header is trivially forged by non-browser clients. Finally, do not attempt to mitigate by restricting destinations to a fixed host allowlist - the proxy must fetch AIA/OCSP/CRL URLs from arbitrary certificate authorities, so a static allowlist would break certificate and timestamp signing for legitimate CAs.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-918 (Server-Side Request Forgery) arising from a classic DNS-rebinding TOCTOU defect in the certificate/timestamp fetch path of BentoPDF's CORS proxy Worker. BentoPDF is a client-side PDF toolkit, but its certificate and timestamp verification features must fetch certificate-chain material from arbitrary certificate authorities - the hostnames come from each certificate's AIA, OCSP, and CRL fields (for example www.cert.fnmt.es and corporate CAs) - so the proxy validates destinations with isPrivateOrReservedHost() rather than a fixed host allowlist, because an allowlist would break signing for legitimate CAs. The safety check and the subsequent fetch(targetUrl) each resolve the hostname independently, so an attacker controlling DNS for their own domain with a very low TTL can win the race: the check sees a public address and fetch() resolves to a private, loopback, link-local, or 169.254.169.254 metadata address. Path filtering via ALLOWED_PATH_PATTERNS is bypassable with a certificate-like path, and the Origin allow-list plus the optional PROXY_SECRET HMAC are explicitly documented as anti-abuse controls and not a security boundary - the Origin header is forgeable by non-browser clients and the HMAC secret is shipped in the public client bundle. Where PROXY_SECRET is unset, request signatures are not verified at all, and the 2.8.7 fix adds a startup warning for this configuration. The proxy has a 10 MB response-limit but can relay response bodies from reachable destinations, giving high confidentiality impact (C:H) with limited integrity and availability impact (I:L/A:L) under the vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:L. Critically, on the default Cloudflare Workers deployment the egress originates from Cloudflare's edge, which has no route to private/internal or metadata addresses, so a successful rebind reaches nothing; the vulnerability is exploitable only on non-Cloudflare runtimes (workerd, Node, or another runtime inside a cloud VPC) whose execution environment can route to internal destinations.
Know when Bentopdf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Network-reachable and unauthenticated (forgeable Origin, optional PROXY_SECRET), but AC:H reflects the DNS-rebinding timing race and non-default off-Cloudflare runtime; primary impact is reading internal responses (C:H) with limited I/A.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
BentoPDF is a client-side PDF toolkit that is self hostable. In 2.8.6 and earlier, the certificate and timestamp CORS proxy in cloudflare/cors-proxy-worker.js uses isPrivateOrReservedHost() to validate a supplied hostname separately from the DNS resolution used by fetch(targetUrl), allowing an attacker-controlled hostname to resolve to an internal or reserved destination after validation. A certificate-like path can satisfy ALLOWED_PATH_PATTERNS, and direct clients can forge the browser-oriented Origin header. Deployments without PROXY_SECRET skip the optional signature check, while the signature is an anti-abuse measure rather than a destination-security boundary. The proxy has a 10 MB response limit and can relay response bodies from reachable destinations. The advisory identifies both the official Worker deployment and self-hosted instances as impacted where the Worker execution environment can reach internal or reserved destinations. This vulnerability is fixed in 2.8.7.
Technical POC Analysis
CWE-918 (Server-Side Request Forgery) in cloudflare/cors-proxy-worker.js, function isValidCertificateUrl(), which gates the user-supplied ?url= parameter through isPrivateOrReservedHost().
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
BentoPDF's certificate/timestamp CORS proxy Worker (cloudflare/cors-proxy-worker.js) carries a server-side request forgery flaw rated 8.6 that lets a remote attacker steer the proxy's outbound requests toward internal, reserved, or cloud-metadata destinations on any deployment hosted outside Cloudflare's own runtime. Because those metadata endpoints can hand back cloud IAM credentials, a single exposed Worker can become a gateway into internal systems that are otherwise unreachable from the internet, expanding an internet-facing PDF service into an organization-wide exposure. Leadership should care because the affected component is internet-facing, the technique is cheap to attempt at scale, and affected code is only addressed by a later release (2.8.7) that must be verified as deployed.
No vendor-released patch was identified as available at time of analysis, though the advisory names BentoPDF 2.8.7 as the fixing release, so apply that version as soon as it can be verified. Interim mitigations: take the certificate/timestamp CORS proxy endpoint offline or restrict it to trusted callers; run the Worker only on Cloudflare's runtime, since the flaw requires a non-Cloudflare host; enforce egress allowlisting that denies link-local, RFC1918, and reserved destinations; require IMDSv2 with a hop limit of 1; and rotate cloud credentials reachable from the affected hosts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Cross-site scripting in BentoPDF's Markdown to PDF Tool allows remote attackers to execute arbitrary JavaScript when use
BentoPDF 2.8.6 and earlier ships its Timestamp workflow node with an unvalidated TimeStamp Authority URL, so importing a
EUVD-2026-86229
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB