CVE-2023-7080
published high CVSS 3.1 · 8.5Arbitrary remote code execution within wrangler dev Workers sandbox
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cloudflare | — | wrangler0 through 3.0.0 (affected · patch); changes: unaffected at 3.19.0 · 0 to < 3.19.0 (affected · patch); changes: unaffected at 3.19.0 · 0 through 2.0.0 (affected · patch); changes: unaffected at 2.20.2 · 0 to < 2.20.2 (affected · patch); changes: unaffected at 2.20.2 · Other versions: unaffected · Platforms: Windows, MacOS, Linux | Version-specific | Not stated | cloudflare |
Description
The V8 inspector intentionally allows arbitrary code execution within the Workers sandbox for debugging. wrangler dev would previously start an inspector server listening on all network interfaces. This would allow an attacker on the local network to connect to the inspector and run arbitrary code. Additionally, the inspector server did not validate Origin/Host headers, granting an attacker that can trick any user on the local network into opening a malicious website the ability to run code. If wrangler dev --remote was being used, an attacker could access production resources if they were bound to the worker. This issue was fixed in [email protected] and [email protected]. Whilst wrangler dev's inspector server listens on local interfaces by default as of [email protected], an SSRF vulnerability in miniflare https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-fwvg-2739-22v7 (CVE-2023-7078) allowed access from the local network until [email protected]. [email protected] and [email protected] introduced validation for the Origin/Host headers.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- cloudflare · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cloudflare | wrangler | 0 through 3.0.0 (affected · patch); changes: unaffected at 3.19.00 to < 3.19.0 (affected · patch); changes: unaffected at 3.19.00 through 2.0.0 (affected · patch); changes: unaffected at 2.20.20 to < 2.20.2 (affected · patch); changes: unaffected at 2.20.2Default: unaffected | cloudflare · cna |
Weaknesses
1- CWE-269 CWE-269 Improper Privilege Management
References
5Provider assertions
2cloudflare · cna
Arbitrary remote code execution within wrangler dev Workers sandbox
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 446bc8da7b7f36bb6fd245ed936bcc1ecc1248d5a37c70a24a10b5138924cb49
- Ingested
- 23 Sep 2026, 08:15:54 UTC
- Source record
- Official CVE record