Skip to main content

CVE-2026-63349: CWE-266: Incorrect Privilege Assignment in agronholm anyio

0
High
VulnerabilityCVE-2026-63349cvecve-2026-63349cwe-266cwe-269
Published: 09/18/2026 (09/18/2026, 17:02:30 UTC)
Source: CVE Database V5
Vendor/Project: agronholm
Product: anyio

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.

CVSS v4.0

Score 7.0high

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

agronholm

anyio

Affected versions
>=4.14.0 <4.14.2
anyio
pkg:pypi/anyio
Affected versions
>=4.14.0 <4.14.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/18/2026, 17:31:39 UTC

Technical Analysis

AnyIO is an asynchronous concurrency framework that supports subprocess management on POSIX systems. In versions 4.14.0 and 4.14.1, the anyio.open_process() function incorrectly forwards the group argument instead of the extra_groups argument to the backend process launcher. When a caller attempts to clear inherited supplementary groups by passing extra_groups=[], the child process instead inherits the parent's supplementary groups, undermining intended privilege restrictions. Additionally, if the group argument is supplied as an integer where an iterable is expected, the launch may fail with a TypeError. This vulnerability affects POSIX applications relying on AnyIO subprocess helpers to drop privileges in child processes. The issue is resolved in AnyIO version 4.14.2.

Potential Impact

Child processes launched using anyio.open_process() in affected versions may retain supplementary groups from the parent process, potentially allowing elevated privileges or access beyond intended restrictions. This undermines privilege-dropping mechanisms and could lead to unauthorized access or escalation within POSIX environments. The vulnerability requires high privileges to exploit and has a high complexity due to the need for privileged context and specific usage patterns.

Mitigation Recommendations

Upgrade AnyIO to version 4.14.2 or later, where this issue is fixed. Until then, avoid relying on anyio.open_process() with the extra_groups argument to drop supplementary groups on POSIX systems. No other mitigations are documented.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-16T14:14:24.386Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aad721155bf5e2cf54a3764

Added to database: 09/18/2026, 17:17:05 UTC

Last enriched: 09/18/2026, 17:31:39 UTC

Last updated: 09/18/2026, 22:12:51 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses