Skip to content
Access control Advisory Advanced CVE-2026-85864

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.

Haein Lee Follow

Originally disclosed on Microsoft

High 7.8 View original

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

The original report as published on the Microsoft Security Response Center, by Haein Lee with KAIST Hacking Lab. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More by Haein Lee

View all

41 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.