PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2020-24356: 
Cloudflared vulnerability analysis and mitigation

Overview

CVE-2020-24356 affects cloudflared versions prior to 2020.8.1, containing a local privilege escalation vulnerability on Windows systems. When run on a Windows system, cloudflared searches for configuration files which could be abused by a malicious entity to execute commands as a privileged user (NVD, GitHub Advisory).

Technical details

The vulnerability stems from a misconfiguration in how cloudflared reads its configuration files on Windows systems. The application reads from C:\etc directory, which lacks default security controls in Windows. An unprivileged user can write a malformed config.yaml file that controls the log file location, which can be set to a location that Windows executes during user login. The vulnerability has a CVSS v3.1 base score of 7.8 (HIGH) according to NVD, with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

Successful exploitation of this vulnerability allows an unprivileged user to escalate privileges and execute system-level commands on affected Windows systems. This can lead to complete system compromise when an administrator has configured cloudflared to read configuration files from specific directories (GitHub Advisory).

Exploitability

The vulnerability requires local access to the system and can be exploited when an administrator has started cloudflared and configured it to read configuration files from certain directories. The attack involves creating a malformed config.yaml file in an unsecured directory (GitHub Advisory).

Mitigation and workarounds

The vulnerability was fixed in cloudflared version 2020.8.1. Users are advised to upgrade to this version or later to protect against this security issue (NVD, GitHub Advisory).

Additional resources


Source: This report was generated using AI

Related Cloudflared vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-97032HIGH7.5
  • Go logoGo
  • gitlab-kas-19.2
NoYesOct 08, 2026
CVE-2026-97031HIGH7.5
  • Go logoGo
  • terraform-fips-1.13
NoYesOct 08, 2026
CVE-2026-111943HIGH7.4
  • Go logoGo
  • crossplane-2.2-fips
NoYesOct 21, 2026
CVE-2026-97030MEDIUM6.1
  • Go logoGo
  • wait-for-port
NoYesOct 08, 2026
CVE-2026-94448MEDIUM6.1
  • Go logoGo
  • buildah-tests
NoYesOct 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management