Description
BentoPDF is a privacy-focused PDF toolkit that runs in the browser. In versions through 2.8.6, cloudflare/cors-proxy-worker.js performs a DNS-over-HTTPS safety check in hostnameResolvesToPrivate(), as used by isValidCertificateUrl() and isValidTsaUrl(), separately from the outbound fetch(targetUrl, ...). In deployments where PROXY_SECRET validation is not enabled, a direct client that controls authoritative DNS can forge the Origin header, supply a certificate, OCSP, CRL, or TSA URL that passes the proxy's accepted path checks, return a public address during validation, and return a private or link-local address during the later fetch. The endpoint can return allowed response bodies to the attacker, but exploitation requires precise timing, redirects and IP-literal obfuscation are blocked, and network reachability limits the target. This vulnerability is fixed in 2.8.7.
Published: 2026-10-14
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Server Side Request Forgery via DNS Rebinding
Action: Immediate Patch
AI Analysis

Impact

BentoPDF versions through 2.8.6 allow a client who can control DNS to perform a DNS-over-HTTPS safety check for a URL that resolves to a public address, and later trigger an outbound fetch that resolves to a private or link‑local address. The timing and path checks permit the attacker to supply a certificate, OCSP, CRL, or TSA URL that passes initial validation but later resolves to an internal resource. The proxy fetches the internal data and returns the allowed response body to the attacker, thus providing internal network disclosure. This flaw is an instance of TOCTOU race conditions (CWE-367) and Server‑Side Request Forgery (CWE-918).

Affected Systems

The vendor is alam00000, product is BentoPDF. All releases from the start through version 2.8.6 are affected. The issue was fixed in release 2.8.7, which removes the unsafe DNS rebinding check.

Risk and Exploitability

The CVSS score of 6.8 indicates a moderate severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires precise timing and the attacker must control DNS for the target domain, and the victim must use a deployment where PROXY_SECRET validation is not enabled. The attack vector is likely a direct client performing DNS rebinding; however, network reachability and the need for a favorable timing window reduce the overall likelihood, though the potential impact of internal data exposure remains significant.

Generated by OpenCVE AI on October 15, 2026 at 13:33 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update BentoPDF to version 2.8.7 or later, which removes the vulnerable DNS rebind check.
  • If upgrading immediately is not possible, enable PROXY_SECRET validation to restrict the proxy to trusted origins and block unauthenticated requests.
  • Configure the application to allow outbound fetches only to a whitelist of trusted IP ranges or domain names, and explicitly reject private or link‑local addresses to prevent internal resource disclosure.

Generated by OpenCVE AI on October 15, 2026 at 13:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
Description BentoPDF is a privacy-focused PDF toolkit that runs in the browser. In versions through 2.8.6, cloudflare/cors-proxy-worker.js performs a DNS-over-HTTPS safety check in hostnameResolvesToPrivate(), as used by isValidCertificateUrl() and isValidTsaUrl(), separately from the outbound fetch(targetUrl, ...). In deployments where PROXY_SECRET validation is not enabled, a direct client that controls authoritative DNS can forge the Origin header, supply a certificate, OCSP, CRL, or TSA URL that passes the proxy's accepted path checks, return a public address during validation, and return a private or link-local address during the later fetch. The endpoint can return allowed response bodies to the attacker, but exploitation requires precise timing, redirects and IP-literal obfuscation are blocked, and network reachability limits the target. This vulnerability is fixed in 2.8.7.
Title BentoPDF: SSRF via DNS Rebinding (TOCTOU) in Cloudflare CORS Proxy Worker
Weaknesses CWE-367
CWE-918
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-15T16:19:56.322Z

Reserved: 2026-09-28T22:38:42.255Z

Link: CVE-2026-102354

cve-icon Vulnrichment

Updated: 2026-10-15T16:19:53.119Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T19:17:04.877

Modified: 2026-10-15T17:17:08.797

Link: CVE-2026-102354

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T13:45:19Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • CWE-918

    Server-Side Request Forgery (SSRF)