title: Arbitrary remote file read in Wrangler dev server
description: Sending specially crafted HTTP requests and inspector messages to Wrangler's dev server could result in any file on the user's computer being accessible over the local network. An attacker that could trick any user on the local network into opening a malicious website could also read any file.
problem types: CWE-287 Improper Authentication
affected:
{
defaultStatus: unaffected
packageName: wrangler
platforms: [Windows, MacOS, Linux]
product: wrangler
repo: https://github.com/cloudflare/workers-sdk
vendor: Cloudflare
versions:
changes: [at: 3.19.0, status: unaffected], lessThanOrEqual: 3.9.0, status: affected, version: 0, versionType: patch
changes: [at: 3.19.0, status: unaffected], lessThan: 3.19.0, status: affected, version: 0, versionType: patch
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: ADJACENT_NETWORK
availabilityImpact: NONE
baseScore: 6.4
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: LOW
privilegesRequired: NONE
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL
workarounds: Configure Wrangler to listen on local interfaces instead with wrangler dev --ip 127.0.0.1. This is the  default as of wrangler@3.16.0 https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-f8mp-x433-5wpf , and removes the local network as an attack vector, but does not prevent an attack from visiting a malicious website.