AUGUST 4, 2026
Live Feed
Back to database
Case File

CVE-2023-6507

MEDIUM · CVSS 6.1 EPSS 1.33% Public Exploit

Source: NVD + CISA KEV + EPSS (historical backfill) · Published 2023-12-08 · Last synced 2026-08-04

CyberRota Analysis

This is a medium severity vulnerability with a CVSS score of 6.1. Public exploit code or proof-of-concept references have been detected in its references.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2023-6507
Severity
MEDIUM
CVSS
6.1
EPSS
1.33%

Original NVD Description

An issue was found in CPython 3.12.0 `subprocess` module on POSIX platforms. The issue was fixed in CPython 3.12.1 and does not affect other stable releases. When using the `extra_groups=` parameter with an empty list as a value (ie `extra_groups=[]`) the logic regressed to not call `setgroups(0, NULL)` before calling `exec()`, thus not dropping the original processes' groups before starting the new process. There is no issue when the parameter isn't used or when any value is used besides an empty list. This issue only impacts CPython processes run with sufficient privilege to make the `setgroups` system call (typically `root`).

Related CVEs

Other vulnerabilities affecting the same vendor(s)