---
schema_version: '1.0'
id: security-20261002-e3c810
title: 'CVE-2026-63349: AnyIO run_process/open_process ignores extra_groups and can
  retain parent supplementary groups'
url: https://osv.dev/vulnerability/PYSEC-2026-4023
url_hash: e3c81024993c1eb70af5eae1cccbf5d9db2477e33711fc2beef78693e424dfcd
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-4023
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-63349
- PYSEC-2026-4023
- severity:CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- anyio
- PyPI
lang: en
published_at: '2026-10-01T16:38:33Z'
fetched_at: '2026-10-02T04:02:59.531454Z'
updated_at: '2026-10-02T05:03:43Z'
status: published
content_hash: 07d6f99f439783773e3014d1aebe85f9f11dd650c6dd49c7739c9e51fe2787f5
content_changed_at: null
license_note: full
summary: AnyIO run_process/open_process ignores extra_groups and can retain parent
  supplementary groups
summary_source: rss
summary_en: AnyIO run_process/open_process ignores extra_groups and can retain parent
  supplementary groups
summary_omitted_reason: null
redistribution: true
keywords_en:
- and
- anyio
- can
- cve
- CVE-2026-63349
- CVE-2026-87817
- extra_groups
- groups
- ignores
- library vulnerability
- open_process
- OPENAI
- parent
- PyPI
- PYSEC-2026-4023
- retain
- run_process
- Rundown
- severity:CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- software security
- supplementary
entities_en:
- name: CVE-2026-87817
  type: event
- name: OPENAI
  type: organization
- name: Rundown
  type: organization
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE-2026-87817
  type: event
- name: Rundown
  type: organization
- name: OPENAI
  type: organization
key_facts: []
related: []
related_auto:
- name: 奥尔特曼
  type: person
  weight: 7.6
- name: GitPython
  type: concept
  weight: 1.0
- name: hooks/pre-commit
  type: artifact
  weight: 1.0
- name: GitHub Security Advisory
  type: content
  weight: 1.0
computed_at: '2026-10-02T05:03:42Z'
---

# CVE-2026-63349: AnyIO run_process/open_process ignores extra_groups and can retain parent supplementary groups

## TL;DR
AnyIO run_process/open_process ignores extra_groups and can retain parent supplementary groups

## Key Points
- cve / CVE-2026-63349 / PYSEC-2026-4023 / severity:CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N / anyio / PyPI

## Details
**Severity:** CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
**Advisory:** PYSEC-2026-4023 (CVE-2026-63349)

**Details:**
AnyIO 4.14.0 accepts the POSIX extra_groups argument on anyio.run_process() and anyio.open_process(), but open_process() forwards the wrong variable to the backend: when extra_groups is not None, it assigns kwargs["extra_groups"] = group instead of extra_groups. As a result, callers cannot reliably clear or set supplementary groups for child processes. In a disposable Linux container, Python's subprocess.run(..., extra_groups=[]) clears a synthetic parent supplementary group list, while anyio.run_process(..., extra_groups=[]) preserves the parent groups. If group is also supplied, AnyIO passes an integer as extra_groups and the call fails with TypeError. This is a POSIX privilege-dropping correctness issue for applications that rely on AnyIO subprocess helpers to launch less-privileged child processes.

**References:**
- https://github.com/agronholm/anyio/security/advisories/GHSA-3w57-8xmc-8v26
- https://github.com/agronholm/anyio/pull/1209
- https://github.com/agronholm/anyio/commit/eb562e6462ee46b1904e50b02ce00a858cdeb200
- https://github.com/agronholm/anyio
- https://github.com/agronholm/anyio/releases/tag/4.14.2
- https://pypi.org/project/anyio
- https://github.com/advisories/GHSA-3w57-8xmc-8v26
- https://nvd.nist.gov/vuln/detail/CVE-2026-63349

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2026-4023_

## Source
元記事: [CVE-2026-63349: AnyIO run_process/open_process ignores extra_groups and can retain parent supplementary groups](https://osv.dev/vulnerability/PYSEC-2026-4023) — published 2026-10-01T16:38:33Z
