Skip to content
OpenAdvisories
High · 7.0 CVE-2026-63349 EUVD-2026-83191GHSA-3w57-8xmc-8v26PYSEC-2026-4023

AnyIO run_process/open_process ignores extra_groups and can retain parent supplementary groups

Published Sep 18, 2026 · Updated Sep 24, 2026 · Assigned by GitHub_M

Description

AnyIO is a high level asynchronous concurrency and networking framework that works on top of either Trio or asyncio. In 4.14.0, AnyIO accepts the POSIX extra_groups argument in anyio.run_process() and anyio.open_process(), but open_process() forwards the group argument to the backend instead of extra_groups. A caller that supplies extra_groups=[] to clear inherited supplementary groups can therefore launch a child that retains the parent process groups, undermining a privilege-dropping boundary. If group is also supplied, the integer group value is passed where an iterable of supplementary groups is expected and the launch can fail with TypeError. This issue affects POSIX applications that rely on AnyIO subprocess helpers to launch less-privileged child processes. This issue is fixed in version 4.14.2.

Affected products

VendorProductAffectedFixed
agronholm anyio >= 4.14.0, < 4.14.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-anyio 4.15.1-1 —
Debian 13 python-anyio No fix yet —
Debian 12 python-anyio No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-anyio No fix yet —
Ubuntu 26.04 LTS python-anyio No fix yet —
Ubuntu 24.04 LTS python-anyio No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI anyio >= 4.14.0, < 4.14.2 4.14.2 GHSA-3w57-8xmc-8v26

References