CVE-2023-1314: Local Privilege Escalation Vulnerability in cloudflared's Installer

Summary

21/03/2023
Yes i
High
7.5

CVE-2023-1314: cloudflared's Installer has Local Privilege Escalation Vulnerability. Affects github.com/cloudflare/cloudflared versions < 0.0.0-20230313153246-f686da832f85. Fixed in 0.0.0-20230313153246-f686da832f85. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

cloudflared is a Go-based client for Cloudflare's Argo Tunnel. It allows users to securely expose their locally hosted services to the internet by creating an encrypted tunnel between the client and Cloudflare's network. The installer for cloudflared on 32-bit Windows devices (<= 2023.3.0) is vulnerable to a local privilege escalation attack. This vulnerability arises from the use of a world-writable directory by the MSI installer, which can be exploited by a local attacker without administrative permissions.

Vulnerability Detail

The vulnerability in cloudflared's installer allows an attacker with local access to the device (without Administrator rights) to manipulate the MSI installer's repair functionality using symbolic links. By creating a symlink from the world-writable directory to a target file, the attacker can trick the installer into deleting files in locations they would not otherwise have access to. This can lead to the deletion or replacement of important system files, potentially compromising the affected device. It is important to note that the cloudflared client itself is not affected by this vulnerability, only the installer for 32-bit Windows devices.

How To Fix

Latest published version: v0.0.0-20261022222307-ee83189f8507 as of 23 Oct 2026

go get github.com/cloudflare/cloudflared@v0.0.0-20261022222307-ee83189f8507

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.0.0-20230313153246-f686da832f85

This is the first release that contains the fix.

go get github.com/cloudflare/cloudflared@v0.0.0-20230313153246-f686da832f85

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The local privilege escalation vulnerability in cloudflared's installer for 32-bit Windows devices has the potential to compromise affected devices by allowing attackers to delete or replace important system files. Users should update to the latest version of cloudflared (>= 2023.3.1) and remove old installers to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for github.com/cloudflare/cloudflared →

Share this vulnerability

FAQ

The vulnerability allows a local attacker without administrative permissions to escalate their privileges on the affected device. By manipulating the MSI installer's repair functionality, the attacker can delete or replace important system files, potentially compromising the device.

Only users of cloudflared's installer on 32-bit Windows devices (<= 2023.3.0) are affected. The cloudflared client itself is not vulnerable.

To mitigate the risk, users should update to the latest version of cloudflared (>= 2023.3.1) and remove any old installers from their systems.

No, there are no known workarounds for this vulnerability. Updating to the latest version of cloudflared is the recommended solution.

More information about the vulnerability can be found in the Cloudflared Releases page on GitHub: https://github.com/cloudflare/cloudflared/releases

Related vulnerabilities

Recent vulnerabilities recorded for github.com/cloudflare/cloudflared.

How To Fix

Latest published version: v0.0.0-20261022222307-ee83189f8507 as of 23 Oct 2026

go get github.com/cloudflare/cloudflared@v0.0.0-20261022222307-ee83189f8507

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.0.0-20230313153246-f686da832f85

This is the first release that contains the fix.

go get github.com/cloudflare/cloudflared@v0.0.0-20230313153246-f686da832f85

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback