CVE-2026-63349

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

State
Published
Severity
7.0 High
Published
Sep 18, 2026
Updated
Sep 24, 2026
Reserved
Jul 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.0 HighCVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-266 Incorrect Privilege Assignment
  • CWE-269 Improper Privilege Management

Affected Products

ProductVersions
anyioagronholm
  • >= 4.14.0, < 4.14.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.