Skip to content
XXE Advisory Advanced CVE-2026-122985

Microsoft PowerShell Information Disclosure Vulnerability (CVE-2026-122985)

Microsoft PowerShell has an improper restriction of XML external entity references, which lets an unauthorised attacker disclose information over a network. Exploiting it could allow the disclosure of credentials.

Kirtikumar Anandrao Ramchandani Follow

Originally disclosed on Microsoft

High 6.1 View original

Description

Improper restriction of xml external entity reference in Microsoft PowerShell allows an unauthorized attacker to disclose information over a network.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does this mean for this vulnerability? An attacker would need specific conditions to be in place (i.e. particular protocol settings, or configurations, etc.) before an attack could succeed, which reduces the likelihood of widespread or opportunistic exploitation.

FAQ

What type of information could be disclosed by this vulnerability? Exploiting this vulnerability could allow the disclosure of credentials.

Microsoft PowerShell

Microsoft PowerShell

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Kirtikumar Anandrao Ramchandani. 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 the XML parser used by PowerShell is not configured to disable external entity resolution.

Impact

Exploiting this vulnerability could allow the disclosure of credentials, though the high attack complexity means specific conditions must be in place first.

What the attacker needed

Specific protocol or configuration settings

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.

XML external entity (XXE) is a flaw where a program parses XML input and follows special references to outside files or network locations. Here, PowerShell does not block those references properly, so an attacker who can supply XML could make the program reveal sensitive data such as credentials.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

More by Kirtikumar Anandrao Ramchandani

View all

6 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.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.