CVE-2020-24356
Local Privilege Escalation in cloudflared
Also known as GHSA-hgwp-4vp4-qmm2, GO-2022-0845
Mitigation
- Upgrade github.com/cloudflare/cloudflared to 0.0.0-20200820025921-9323844ea773 or later.
Who should check
- Projects that depend on Go package github.com/cloudflare/cloudflared (< 0.0.0-20200820025921-9323844ea773)
- Anyone running cloudflared >= unspecified, < 2020.8.1
Vulnerability facts
- Affected
- github.com/cloudflare/cloudflared < 0.0.0-20200820025921-9323844ea773
- Fixed in
- 0.0.0-20200820025921-9323844ea773
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.4 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.37% chance of exploitation in 30 days (percentile 23, 2026-11-26)
- CWE
- CWE-427
- Modified
Description
`cloudflared` versions prior to 2020.8.1 contain 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. Version 2020.8.1 fixes this issue.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/cloudflare/cloudflared | < 0.0.0-20200820025921-9323844ea773 | 0.0.0-20200820025921-9323844ea773 | osv |
| cloudflared | >= unspecified, < 2020.8.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-24356. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-24356.md Affected: github.com/cloudflare/cloudflared < 0.0.0-20200820025921-9323844ea773 Fixed in: 0.0.0-20200820025921-9323844ea773 Steps: 1. Search this machine and project for github.com/cloudflare/cloudflared (Go), cloudflared: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2020-24356 being exploited?
There is no confirmed exploitation: CVE-2020-24356 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-24356?
Medium: CVSS 6.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2020-24356?
github.com/cloudflare/cloudflared < 0.0.0-20200820025921-9323844ea773.
Is there a fix for CVE-2020-24356?
Yes. Fixed in 0.0.0-20200820025921-9323844ea773. Upgrade github.com/cloudflare/cloudflared to 0.0.0-20200820025921-9323844ea773 or later.
How do I check if I'm affected by CVE-2020-24356?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.