Python Elevation of Privilege Vulnerability (CVE-2026-85864)
Python contains an improper privilege management flaw that lets an authorised local attacker raise their privileges. A successful exploit could move an attacker from a low integrity level to a medium integrity level.
Description
Improper privilege management in Python allows an authorized attacker to elevate privileges locally.
FAQ
What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could elevate from a low integrity level up to a medium integrity level.
Python
Python
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely improper privilege management in Python, though the text does not describe the specific coding mistake.
Impact
An attacker who already has local access could elevate from a low integrity level to a medium integrity level.
What the attacker needed
Local access to the machine; ability to run code as a low-integrity user
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a local privilege escalation in Python: someone who can already run code on the machine can use a mistake in how Python handles privileges to gain more rights than they should have. The text says the gain is from a low integrity level to a medium one, which is a modest step up in trust on Windows.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.