---
id: "CVE-2026-108262"
page: "https://infrastack.ai/live/CVE-2026-108262"
kind: "vulnerability"
aliases: ["CVE-2026-108262"]
title: "DDEV: crafted tar archive can write files outside extraction directory"
severity: "medium"
cvss: 6.5
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["ddev", "local-dev", "node.js", "package", "php"]
not_affected_if: ["trusted-imports-only", "unzip-only"]
published_at: "2026-11-06T19:17:06+00:00"
first_seen_at: "2026-11-06T19:43:48+00:00"
updated_at: "2026-11-06T19:45:55+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-108262", "first_seen_at": "2026-11-06T19:43:48+00:00"}]
exploit_sources: []
---

# DDEV: crafted tar archive can write files outside extraction directory

Link for people: https://infrastack.ai/live/CVE-2026-108262 (this .md is for agents)

DDEV, a local web development tool, extracts tar archives in a way that lets a crafted archive plant an absolute symlink and then write files outside the extraction folder. An attacker who gets a developer to fetch an add-on or import a database or file can overwrite shell startup files, Git hooks or cron entries, leading to code execution as the DDEV user.

_Summary, check and fix written by a model from the sources; labelled as such._

## Fix

- DDEV: move to `1.25.4`.

## Timeline

- 2026-11-06T19:43:48+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-108262

## Documents

- [advisory] Vendor advisory: github.com https://github.com/ddev/ddev/security/advisories/GHSA-9hq4-hm3j-jmph

## From the sources

DDEV is an open-source tool for running local web development environments for PHP and Node.js. From 1.25.2 until 1.25.4, Untar in pkg/archive/archive.go validates an absolute tar symlink target after rebasing it beneath dest, but creates the symlink with the raw absolute Linkname. A crafted archive can therefore plant a host-absolute symlink and use a following regular-file entry to write outside the extraction directory. The flaw is reachable through remote add-on retrieval and database or file imports, and overwriting shell startup files, Git hooks, or cron entries can lead to code execution in the DDEV user's context. Unzip is not affected. This issue is fixed in version 1.25.4.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
