THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-558c-9hv2-4prj (medium) — virtualenv: Generated files can follow existing destination links

[GHSA] GHSA-558c-9hv2-4prj (medium) — virtualenv: Generated files can follow existing destination links

highgithub_advisoriesPublished 2026-10-22

GHSA-558c-9hv2-4prj Severity: medium CVE: CVE-2026-113721

virtualenv: Generated files can follow existing destination links

## Summary

Generated activation files and pyvenv.cfg can follow existing links and write outside the requested environment. The template writer tests exists() before unlinking, which misses dangling symlinks; the configuration writer opens the existing path directly.

Anth

Indicators of compromise

Original source: https://github.com/advisories/GHSA-558c-9hv2-4prj