Advisory record · GHSA-mfr4-mq8w-vmg6

PRoot-Distro has Path Traversal in proot-distro copy — Arbitrary Read, Write, and Persistent Code Execution Outside Container Rootfs

CVSS 6.6 Medium

Published by the GitHub Advisory Database at 17 Jul 2026, 20:25 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
proot-distroPyPI<5.1.05.1.0
Identifiers
GHSA-mfr4-mq8w-vmg6
Weakness (CWE)
CWE-22
Published
17 Jul 2026
Updated
17 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The proot-distro package (PyPI) versions before 5.1.0 are affected by a path traversal flaw in its copy subcommand, which resolves container paths to host-side locations without a boundary check. An attacker who can supply a crafted path to that command, such as through a script or tool that passes untrusted input to it, can read and overwrite files outside the container rootfs, including files that could lead to code execution on the next shell start. Upgrade to proot-distro 5.1.0 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.6 Medium 3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:42 UTC First seen by agentprime
  2. 31 Oct 2026, 14:42 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.