BSD Ports

virtualenv -- CWE-59: Improper Link Resolution Before File Access ('Link Following')

· CVE-2026-22702 · VuXML entry

https://github.com/pypa/virtualenv/security/advisories/GHSA-597g-3phw-6986 reports: virtualenv is a tool for creating isolated virtual python environments. Prior to version 20.36.1, TOCTOU (Time-of-Check-Time-of-Use) vulnerabilities in virtualenv allow local attackers to perform symlink-based attacks on directory creation operations. An attacker with local access can exploit a race condition between directory …

Affected versions

By system

1 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlydevel/py-virtualenv20.29.3 vulnerable since 2026-01-12
OpenBSDdevel/py-virtualenv21.14.12 out of range, by version
NetBSDdevel/py-virtualenv21.7.9 not listed
MidnightBSDdevel/py-virtualenv20.26.0_1 in range, by version
FreeBSDdevel/py-virtualenv21.14.13 fixed (255 days after)