{"schema":"threatline.record/2","record":{"id":"CVE-2026-77581","aliases":["GHSA-5xjf-rr5x-pcfj"],"summary":"BentoPDF: SSRF in cors-proxy-worker.js via DNS-based hostname allowlist bypass","details":"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.","categories":["Unclassified"],"product":"bentopdf","vendor":"alam00000","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-77581","source_modified_at":"2026-09-24T15:37:29.237Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"bentopdf","vendor":"alam00000","versions":[{"status":"affected","version":"< 2.8.7"}],"defaultStatus":null},{"source":"GitHub Advisory Database","source_url":"https://github.com/alam00000/bentopdf/security/advisories/GHSA-5xjf-rr5x-pcfj","source_modified_at":"2026-08-23T12:54:50Z","fetched_at":"2026-10-23T21:47:51.402276Z","package":{"ecosystem":"","name":"cors-proxy-worker.js"},"range":"<= 2.8.6"}],"fixed_versions":[],"cvss":8.6,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00266,"percentile":0.17788,"score_date":"2026-10-23"},"published_at":"2026-09-24T15:23:18.550Z","modified_at":"2026-09-24T15:37:29.237Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-77581","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-09-24T15:37:29.237Z"},{"source":"GitHub Advisory Database","url":"https://github.com/alam00000/bentopdf/security/advisories/GHSA-5xjf-rr5x-pcfj","fetched_at":"2026-10-23T21:47:51.402276Z","source_modified_at":"2026-08-23T12:54:50Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-77581","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/alam00000/bentopdf/security/advisories/GHSA-5xjf-rr5x-pcfj","tags":["exploit"]},{"source":"CVE List","url":"https://github.com/alam00000/bentopdf/commit/45496fcd2ed6e02dcdde0d3839cc5024c091760c","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/alam00000/bentopdf/commit/58cd1a8893bfe06e4a59a72adc2e7db00a8b9266","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/alam00000/bentopdf/releases/tag/v2.8.7","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial","assessed_at":"2026-09-24T15:37:09.697885Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-09-24T15:37:29.237Z","content_hash":"f48398ccdcbd432b4e8811689443152b57ecd008b701afbf8e4d49641662ddfe"}}
