CVE-2026-63349: Fastapi · AnyIO run_process/open_process ignores extra_groups and can retain parent supplementary groups
Affects fastapiSource GCVE Database
Not known to be exploited · CVSS 7.0 High : upgrade to 0.139.1 soon.
Data as of 9 Nov 2026, 20:03 UTC
- Patch
- Available – fixed in 0.139.1
CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Upgrade fastapi to 0.139.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewfastapipkg:brew/fastapiOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in AnyIO version 0.139.1. Users should upgrade to version 0.139.1 or later to resolve this issue. No other mitigation actions are indicated by the vendor advisory.
Description
AnyIO versions 4.14.0 used by FastAPI have a vulnerability in the handling of the extra_groups argument in run_process() and open_process() functions. The open_process() function incorrectly forwards the extra_groups parameter, causing child processes to retain parent supplementary groups instead of properly clearing or setting them. This affects privilege dropping on POSIX systems, potentially allowing child processes to run with unintended group privileges. The issue is fixed in AnyIO version 0.139.1.
References
- github.com/agronholm/anyio/security/advisories/GHSA-3w57-8xmc-8v26 (opens in a new tab)
- github.com/agronholm/anyio/pull/1209 (opens in a new tab)
- github.com/agronholm/anyio/commit/eb562e6462ee46b1904e50b02ce00a858cdeb200 (opens in a new tab)
- github.com/agronholm/anyio (opens in a new tab)
- github.com/agronholm/anyio/releases/tag/4.14.2 (opens in a new tab)