CVE-2026-77581: CWE-918: Server-Side Request Forgery (SSRF) in alam00000 bentopdf
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.
AI Analysis
Technical Summary
BentoPDF versions 2.8.6 and earlier include a CORS proxy implemented in cloudflare/cors-proxy-worker.js that validates supplied hostnames using isPrivateOrReservedHost() before DNS resolution. However, the DNS resolution used by fetch(targetUrl) can resolve the hostname to internal or reserved IP addresses after validation, enabling SSRF attacks. The proxy allows response bodies up to 10 MB to be relayed. Deployments without PROXY_SECRET skip signature checks intended as anti-abuse measures but do not prevent SSRF. Both the official Worker deployment and self-hosted instances are affected if the Worker environment can reach internal or reserved destinations. The vulnerability is addressed in BentoPDF 2.8.7.
Potential Impact
An attacker can exploit this SSRF vulnerability to make the proxy server send requests to internal or reserved network destinations that are normally inaccessible externally. This can lead to unauthorized access to internal services, data exposure, or other impacts depending on the internal resources reachable. The vulnerability has a high CVSS score of 8.6, indicating significant confidentiality and availability impact, with partial integrity impact.
Mitigation Recommendations
A fixed version, BentoPDF 2.8.7, is available and should be applied to remediate this vulnerability. Since this is a cloud service, the vendor manages remediation for the official Worker deployment. For self-hosted instances, upgrading to 2.8.7 or later is required. Deployments should also ensure PROXY_SECRET is configured to enable signature checks as an anti-abuse measure. No additional mitigation steps are indicated in the advisory.
CVE-2026-77581: CWE-918: Server-Side Request Forgery (SSRF) in alam00000 bentopdf
Description
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.
CVSS v3.1
Score 8.6high
Affected software
alam00000
bentopdf
pkg:github/alam00000/bentopdfRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
BentoPDF versions 2.8.6 and earlier include a CORS proxy implemented in cloudflare/cors-proxy-worker.js that validates supplied hostnames using isPrivateOrReservedHost() before DNS resolution. However, the DNS resolution used by fetch(targetUrl) can resolve the hostname to internal or reserved IP addresses after validation, enabling SSRF attacks. The proxy allows response bodies up to 10 MB to be relayed. Deployments without PROXY_SECRET skip signature checks intended as anti-abuse measures but do not prevent SSRF. Both the official Worker deployment and self-hosted instances are affected if the Worker environment can reach internal or reserved destinations. The vulnerability is addressed in BentoPDF 2.8.7.
Potential Impact
An attacker can exploit this SSRF vulnerability to make the proxy server send requests to internal or reserved network destinations that are normally inaccessible externally. This can lead to unauthorized access to internal services, data exposure, or other impacts depending on the internal resources reachable. The vulnerability has a high CVSS score of 8.6, indicating significant confidentiality and availability impact, with partial integrity impact.
Mitigation Recommendations
A fixed version, BentoPDF 2.8.7, is available and should be applied to remediate this vulnerability. Since this is a cloud service, the vendor manages remediation for the official Worker deployment. For self-hosted instances, upgrading to 2.8.7 or later is required. Deployments should also ensure PROXY_SECRET is configured to enable signature checks as an anti-abuse measure. No additional mitigation steps are indicated in the advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-20T20:35:30.148Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Is Cloud Service
- true
Threat ID: 6ab54645f7a7c541067fcbb7
Added to database: 09/24/2026, 15:48:21 UTC
Last enriched: 09/24/2026, 16:02:44 UTC
Last updated: 09/25/2026, 02:48:16 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.