CVE-2023-1314Cloudflared
High 7.8
Follow: this CVE · Cloudflare · Cloudflared We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 20
- Auth required
- Yes
- Published
- Mar 21, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
A vulnerability has been discovered in cloudflared's installer (<= 2023.3.0) for Windows 32-bits devices that allows a local attacker with no administrative permissions to escalate their privileges on the affected device. This vulnerability exists because the MSI installer used by cloudflared relied on a world-writable directory.
An attacker with local access to the device (without Administrator rights) can use symbolic links to trick the MSI installer into deleting files in locations that the attacker would otherwise have no access to. By creating a symlink from the world-writable directory to the target file, the attacker can manipulate the MSI installer's repair functionality to delete the target file during the repair process.
Exploitation of this vulnerability could allow an attacker to delete important system files or replace them with malicious files, potentially leading to the affected device being compromised.
The cloudflared client itself is not affected by this vulnerability, only the installer for 32-bit Windows devices.
What to do
- Apply the vendor's security update for Cloudflared.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/cloudflare/cloudflared |
< 0.0.0-20230313153246-f686da832f85 |
0.0.0-20230313153246-f686da832f85 |
go get github.com/cloudflare/cloudflared@v0.0.0-20230313153246-f686da832f85 |
| Go | github.com/cloudflare/cloudflared |
< 0.0.0-20230313153246-f686da832f85 |
0.0.0-20230313153246-f686da832f85 |
go get github.com/cloudflare/cloudflared@v0.0.0-20230313153246-f686da832f85 |
Per OSV / GitHub Advisories (GHSA-7mjv-x3jf-545x, GO-2023-1652). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cloudflare | cloudflared | < 2023.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Vendor Advisory