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·5 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

•10 minutes ago•CVE-2026-64847
6.8

CVE-2026-64847: Indefinite Denial of Service via Undrained Stderr in AnyIO Process Pool Workers

A denial-of-service vulnerability exists in AnyIO prior to version 4.14.2. Standard error streams of process-pool workers are connected to an operating system pipe that is never drained by the parent process. This allows a worker to fill the pipe buffer and deadlock indefinitely.

Amit Schendel
Amit Schendel
2 views•6 min read
•about 2 hours ago•CVE-2026-63406
5.9

CVE-2026-63406: Information Disclosure via Insecure Telemetry and Hardcoded Credentials in AnyCable-Go

CVE-2026-63406 is an information disclosure vulnerability in AnyCable-go prior to version 1.6.15. The built-in telemetry client is enabled by default with a hardcoded public authentication token ('secret'). This client digests highly sensitive configuration parameters and command-line arguments, including JWT secrets and RPC secrets, into a stable SHA-256 fingerprint. This fingerprint is sent over public networks, exposing those administrative secrets to offline dictionary and brute-force attacks if intercepted.

Alon Barad
Alon Barad
4 views•5 min read
•about 3 hours ago•CVE-2026-84992
6.1

CVE-2026-84992: Cross-Site Scripting (XSS) via Fenced Code Block Parsing in md-editor-v3

CVE-2026-84992 is a Cross-Site Scripting (XSS) vulnerability affecting md-editor-v3 before version 6.5.4. It occurs because the fenced-code block language parser directly interpolates unescaped language metadata into unquoted HTML attributes inside the custom rendering callback. This bypasses the built-in XSSPlugin which runs during the parsing phase, before rendering.

Amit Schendel
Amit Schendel
7 views•6 min read
•about 4 hours ago•CVE-2026-81505
7.1

CVE-2026-81505: Broken Object Level Authorization (BOLA) in Convoy Webhook Source Retrieval

CVE-2026-81505 is a high-severity Broken Object Level Authorization (BOLA) / Insecure Direct Object Reference (IDOR) vulnerability in Convoy, a cloud-native webhooks gateway. In affected versions prior to 26.6.8, the single-item Source retrieval API endpoint authorizes project access but fails to confirm if the requested Source belongs to that specific project. This logical flaw allows authenticated users or project-scoped API key holders to bypass tenant isolation boundaries and retrieve unredacted, plaintext message broker credentials for Apache Kafka, Amazon SQS, RabbitMQ, and Google Cloud Pub/Sub belonging to other tenants. This issue is fully patched in version 26.6.8.

Amit Schendel
Amit Schendel
8 views•5 min read
•about 5 hours ago•CVE-2026-77339
5.1

CVE-2026-77339: Unauthenticated Remote Command Execution in Process Compose via DNS Rebinding

CVE-2026-77339 is a critical security vulnerability in Process Compose before version 1.120.0. The Model Context Protocol (MCP) Server-Sent Events (SSE) listener transport subsystem fails to validate the HTTP Host and Origin headers, and does not enforce authentication. This omissions expose local loopback listeners to DNS rebinding attacks orchestrated by malicious remote websites visited by developers, enabling unauthorized process control and arbitrary command execution.

Alon Barad
Alon Barad
8 views•6 min read
•about 6 hours ago•CVE-2026-77301
7.5

CVE-2026-77301: Uncontrolled Resource Allocation (Decompression Bomb) in adm-zip

CVE-2026-77301 is a critical uncontrolled resource allocation vulnerability in the popular Node.js library adm-zip (versions prior to 0.6.1). During ZIP decompression of asynchronous entries, the library trusts the uncompressed size metadata declared in the central directory headers. Because Node.js's streaming zlib API completely ignores the maxOutputLength configuration, a crafted ZIP archive (decompression bomb) causes the application to continually allocate resident memory buffers on the heap without limits, causing rapid memory exhaustion and a process-level Out-of-Memory (OOM) crash.

Alon Barad
Alon Barad
6 views•5 min read