CVE-2020-36851

Rob--W cors-anywhere Misconfigured CORS Proxy Allows SSRF

9.5 critical EPSS 0.98%

Published 25 Sep 2025 Updated 8 Nov 2026 CNA: VulnCheck

Check your servers for CVE-2020-36851

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-36851 affects cors-anywhere, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

9.5 critical CVSS 4.0 from VulnCheck (CNA)
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
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Attack requirements
present: an attack works only when the target is in a certain state or configuration
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality high, integrity high, availability none: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality high, integrity high, availability high: what an attacker can read, change or stop beyond it

Exploitation

EPSS 0.98%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 63.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 25 Sep 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-918 Server-Side Request Forgery
  • CWE-942 Permissive Cross-domain Security Policy with Untrusted Domains

Affected products

As the CNA lists them.

ProductVersions
Rob--W / cors-anywhere
package cors-anywhere
affected up to and including 0.4.4
Other versions: unknown

Is my server affected?

Find the installed version of cors-anywhere and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i cors-anywhere
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-36851 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-36851

RHEL, Rocky, Alma, Fedora

rpm -q cors-anywhere
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-36851

Alpine

apk list --installed | grep -i cors-anywhere

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2020-36851
trivy image --scanners vuln IMAGE | grep CVE-2020-36851

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2020-36851 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.