CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-63349

CVE-2026-63349: Privilege Dropping Bypass and Denial of Service in AnyIO Subprocess Module

Alon Barad
Alon Barad
Software Engineer

Sep 19, 2026·5 min read·81 visits

Executive Summary (TL;DR)

A typo in AnyIO 4.14.0 and 4.14.1 causes subprocesses to retain the parent's supplementary groups (such as 'docker' or 'shadow'), bypassing security boundaries designed to drop privileges.

CVE-2026-63349 is a critical privilege-dropping bypass vulnerability in the AnyIO asynchronous framework (versions 4.14.0 and 4.14.1) on POSIX platforms. Due to a variable assignment typo, supplementary groups specified by the developer are not correctly propagated to the execution backend, resulting in subprocesses retaining the parent process's elevated supplementary group permissions.

Vulnerability Overview

The AnyIO asynchronous framework serves as a compatibility layer abstracting Python's asyncio and trio engines. A core component of AnyIO is its subprocess execution module, which permits the creation and management of secondary processes through helper functions like open_process and run_process.

On POSIX-compliant operating systems, running highly privileged parent applications must drop permissions when executing untrusted child tasks. This security control is established by setting specific credentials: the primary user identity, primary group, and supplementary groups. In Python, these parameters map to user, group, and extra_groups respectively.

Versions 4.14.0 and 4.14.1 of AnyIO introduced a critical security regression within the POSIX credentials mapping. A logical typo during argument preparation causes the library to ignore or overwrite the specified extra_groups parameter. This failure bypasses supplementary group-dropping policies, exposing systems to privilege escalation attacks.

Root Cause Analysis

The root cause of this vulnerability lies in a direct variable assignment error in src/anyio/_core/_subprocesses.py. When a developer provides the extra_groups parameter, AnyIO is designed to construct an arguments dictionary to pass to the asynchronous execution backend.

Instead of assigning the extra_groups list to the corresponding key in kwargs, the code incorrectly maps the primary group variable to the extra_groups key. The vulnerable code statement is: kwargs['extra_groups'] = group.

This assignment leads to two failure states based on the supplied parameters. If group is undefined or None, kwargs['extra_groups'] is set to None, which signals the operating system to inherit all supplementary groups from the parent process. Alternatively, if group is configured as an integer, the backend interpreter throws a TypeError because an integer is not an iterable, inducing a denial of service on process execution.

Code-Level Vulnerability & Patch Analysis

To analyze the vulnerability, we inspect the mapping logic inside src/anyio/_core/_subprocesses.py in the vulnerable version 4.14.0:

# Vulnerable implementation in AnyIO 4.14.0
if group is not None:
    kwargs["group"] = group
 
if extra_groups is not None:
    kwargs["extra_groups"] = group  # Bug: incorrect variable mapping

The patch in commit eb562e6462ee46b1904e50b02ce00a858cdeb200 corrects this mapping mistake:

# Patched implementation in AnyIO 4.14.2
if group is not None:
    kwargs["group"] = group
 
if extra_groups is not None:
    kwargs["extra_groups"] = extra_groups  # Corrected parameter assignment

The fix is complete and robust because it maps the correct local variable and ensures that the backend receives the intended list of groups. The maintainers added mock tests to verify that every parameter is explicitly verified during integration.

Exploitation and Privilege Escalation Mechanics

Exploitation of CVE-2026-63349 requires a specific execution context where an application running with elevated privileges executes untrusted commands under dropped privileges.

Consider a daemon running as root that executes a hook script on behalf of a low-privileged user. The daemon attempts to run the hook script with dropped privileges:

await anyio.run_process(
    ["/home/user/hook.sh"],
    user="nobody",
    group="nogroup",
    extra_groups=[]
)

Under AnyIO 4.14.0, because extra_groups is assigned the value of group, the backend receives extra_groups='nogroup'. On some systems, passing a string to an iterable argument raises errors, but if the primary group parameter is not set and defaults to None, the backend receives extra_groups=None. The child process then retains the elevated supplementary groups of the parent (such as docker or shadow), allowing the script to escalate privileges on the host system.

Here is a visual representation of the execution path:

Impact Assessment

The security impact of CVE-2026-63349 is classified as high, carrying a CVSS v4.0 base score of 7.0. The vulnerability allows an attacker to bypass critical security boundaries designed to enforce least privilege.

If the parent application belongs to administrative groups like docker, disk, or shadow, a child process spawned with lowered UID/GID can still interact with high-privilege resources. This allows an attacker who controls the executed subprocess to gain full administrative control over the host operating system.

No active exploitation has been reported in the wild, and the vulnerability is not listed in the CISA KEV catalog. The attack complexity is rated high because it depends on specific configuration patterns where an application drops credentials using AnyIO subprocess wrappers.

Remediation & Defensive Strategies

Remediation requires upgrading the anyio package to version 4.14.2 or higher. This completely restores the correct parameter propagation and mitigates the privilege retention issue.

If upgrading is not immediately possible, developers must bypass AnyIO's subprocess module when spawning processes that require privilege dropping. This is achieved by invoking the standard library's asyncio or subprocess APIs directly.

# Safe workaround utilizing standard asyncio
import asyncio
 
async def spawn_safe_process(cmd, user_id, group_id, extra_gids):
    return await asyncio.create_subprocess_exec(
        *cmd,
        user=user_id,
        group=group_id,
        extra_groups=extra_gids
    )

We recommend implementing automated checks to prevent anyio dependencies below version 4.14.2 from being deployed in production environments.

Official Patches

AnyIO MaintainersFix commit
AnyIO MaintainersPull Request with fix
AnyIO MaintainersRelease notes for 4.14.2
GitHub Advisory DatabaseAdvisory GHSA-3w57-8xmc-8v26

Fix Analysis (1)

Technical Appendix

CVSS Score
7.0/ 10
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
EPSS Probability
0.01%
Top 100% most exploited

Affected Systems

AnyIO (Python asynchronous library) versions 4.14.0 and 4.14.1 running on POSIX systems

Affected Versions Detail

Product
Affected Versions
Fixed Version
AnyIO
agronholm
>= 4.14.0, < 4.14.24.14.2
AttributeDetail
CWE IDCWE-266 / CWE-269
Attack VectorLocal
CVSS v4.0 Score7.0 (High)
Exploit StatusProof-of-Concept / Theoretical
KEV StatusNot Listed
Affected Componentanyio._core._subprocesses

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-266
Incorrect Privilege Assignment

The software incorrectly assigns privileges or permissions to a resource, or does not properly drop privileges when launching a subprocess.

Vulnerability Timeline

Vulnerability identified and fix commit pushed
2026-07-08
GitHub Security Advisory GHSA-3w57-8xmc-8v26 published
2026-09-18
CVE-2026-63349 registered in NVD
2026-09-18
AnyIO 4.14.2 released with official fix
2026-09-18

References & Sources

  • [1]NVD - CVE-2026-63349
  • [2]GitHub Security Advisory GHSA-3w57-8xmc-8v26

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•CVE-2026-114150
5.9

CVE-2026-114150: Remote Information Disclosure via Uninitialized Pooled Memory in ASP.NET Core Response Buffering

CVE-2026-114150 is a network-accessible information disclosure vulnerability affecting Microsoft ASP.NET Core in .NET 11.0 preview releases and Microsoft Visual Studio 2026 prior to version 18.12.0. The flaw stems from the use of uninitialized resources (CWE-908) within response buffering components, specifically ResponseBufferingStream used by middleware such as HTTP Logging and Output Caching. Because rented memory segments from ArrayPool<byte> or MemoryPool<byte> are not cleared upon return or strictly bounded to the exact written byte count during subsequent reads, residual response payloads from earlier HTTP requests remain in the buffer tail. Downstream consumers or log sinks reading these buffers expose confidential cross-session data, including authentication tokens and personally identifiable information.

Amit Schendel
Amit Schendel
1 views•11 min read
•about 2 hours ago•CVE-2026-114146
9.0

CVE-2026-114146: Elevation of Privilege in ASP.NET Core SignalR Connection Dispatcher

An incorrect authorization vulnerability (CWE-863) exists in the ASP.NET Core SignalR HTTP Connection Dispatcher (`Microsoft.AspNetCore.Http.Connections`). The connection negotiation process failed to bind the authenticated caller identity to the generated connection state, and subsequent transport or message dispatch handlers failed to verify caller consistency. Consequently, an authenticated low-privilege attacker who obtains a valid connection identifier or token can inject messages into or hijack another user's SignalR session, achieving an elevation of privilege across security boundaries.

Alon Barad
Alon Barad
4 views•11 min read
•about 3 hours ago•CVE-2026-109478
7.5

CVE-2026-109478: Algorithmic Complexity Denial of Service in ASP.NET Core Header Parsing

CVE-2026-109478 is a network-accessible Denial of Service (DoS) vulnerability in ASP.NET Core caused by inefficient algorithmic complexity (CWE-407) when parsing comma-separated HTTP request headers. Prior to the patch, the internal helper method ParsingHelpers.GetHeaderSplit repeatedly called StringValues.Concat inside a loop iterating over each comma-separated token. Because StringValues allocates a new array of size k + 1 and copies all existing elements upon each concatenation, processing N tokens incurs O(N^2) time and space complexity. An unauthenticated remote attacker can send HTTP requests with headers containing thousands of short, comma-separated values to exhaust CPU cycles and induce severe Garbage Collection (GC) pauses, rendering the web application unresponsive.

Alon Barad
Alon Barad
6 views•11 min read
•about 4 hours ago•CVE-2026-114147
7.5

CVE-2026-114147: Denial of Service via Memory Leak in ASP.NET Core SignalR Redis Backplane

CVE-2026-114147 is a high-severity Denial of Service (DoS) vulnerability affecting ASP.NET Core and specifically the Microsoft.AspNetCore.SignalR.StackExchangeRedis scale-out provider across .NET 8.0, 9.0, 10.0, and 11.0 preview releases. The vulnerability originates from a string comparison mismatch between internal per-connection group collections and the centralized Redis channel subscription registry, compounded by a race condition during connection teardown. Remote unauthenticated attackers can exploit this flaw to leave orphaned connection contexts and active Redis pub/sub listeners pinned in memory, leading to unbounded memory exhaustion and application process termination.

Amit Schendel
Amit Schendel
3 views•10 min read
•about 5 hours ago•CVE-2026-114156
6.5

CVE-2026-114156: Path Equivalence Security Feature Bypass in Microsoft ASP.NET Core

CVE-2026-114156 is an improper resolution of path equivalence vulnerability (CWE-41) in Microsoft ASP.NET Core affecting .NET 11.0 preview releases and Microsoft Visual Studio 2026. The vulnerability stems from a discrepancy between how path prefix validation helpers (such as PathString.StartsWithSegments) and downstream routing mechanisms handle alternate path separators and percent-encoded characters. An unauthenticated remote attacker can exploit this mismatch over the network to bypass path-based authorization middleware and access restricted endpoints.

Amit Schendel
Amit Schendel
5 views•8 min read
•about 6 hours ago•CVE-2026-114157
7.5

CVE-2026-114157: Local Privilege Escalation via Race Condition in ASP.NET Core Kestrel Named Pipes Transport

CVE-2026-114157 is a high-severity local privilege escalation and security feature bypass vulnerability affecting ASP.NET Core on Microsoft Windows. The flaw resides in the Kestrel web server's Named Pipes transport layer (Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes) and stems from a race condition (CWE-362) during broken pipe error recovery. When an active connection throws an IOException during handshake acceptance, the connection listener previously disposed of the broken NamedPipeServerStream instance before acquiring a replacement stream from its internal pool. This sequence created a momentary window where zero server instances of the named pipe existed in the Windows Named Pipe File System (NPFS). A local, low-privileged attacker can exploit this timing window to create a named pipe with the identical name and a permissive Discretionary Access Control List (DACL), hijacking subsequent inter-process communications and escalating privileges across security boundaries.

Amit Schendel
Amit Schendel
6 views•11 min read