# CVE-2023-36013: PowerShell Information Disclosure Vulnerability

> An attacker can exploit this vulnerability in PowerShell to disclose sensitive information, potentially exposing credentials or configuration data.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 20 Nov 2023
- **Updated:** 9 Oct 2025
- **Also known as:** BIT-powershell-2023-36013, GHSA-97qp-7h55-jxgr

## What is CVE-2023-36013?

CVE-2023-36013 is a medium-severity vulnerability in Microsoft PowerShell 7.2, published on 20 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

PowerShell Information Disclosure Vulnerability

Weakness: CWE-668 (Exposure of Resource to Wrong Sphere), CWE-798 (Use of Hard-coded Credentials)

## Which versions are affected by CVE-2023-36013?

1 open source package ship an affected version, including powershell. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `powershell` | Bitnami | From 7.2.0 | 7.2.17, 7.3.10 |

Products: Microsoft Powershell.

## How do I fix CVE-2023-36013?

Upgrade powershell to a fixed version for your release line: 7.2.17 or 7.3.10.

## Is CVE-2023-36013 being exploited?

There is no known exploitation of CVE-2023-36013 in the wild and no public exploit code.

## Other vulnerabilities in Microsoft PowerShell 7.2

- [CVE-2018-8327](https://insights.sbomify.com/CVE-2018-8327/): Code injection in PowerShell Editor (critical 9.8)
- [CVE-2026-96251](https://insights.sbomify.com/CVE-2026-96251/): Microsoft PowerShell Remote Code Execution Vulnerability (high 8.8)
- [CVE-2026-70337](https://insights.sbomify.com/CVE-2026-70337/): Microsoft PowerShell Remote Code Execution Vulnerability (high 8.8)
- [CVE-2022-41076](https://insights.sbomify.com/CVE-2022-41076/): PowerShell Remote Code Execution Vulnerability (high 8.5)
- [CVE-2026-50523](https://insights.sbomify.com/CVE-2026-50523/): Microsoft PowerShell Remote Code Execution Vulnerability (high 7.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-36013 and fix it if it is affected.

What it is: CVE-2023-36013 is a medium-severity vulnerability in Microsoft PowerShell 7.2, published on 20 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-36013 in the wild and no public exploit code.

Affected packages and fixed versions:
- powershell (Bitnami): affected from 7.2.0; fixed in 7.2.17, 7.3.10

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-36013/ (Markdown: https://insights.sbomify.com/CVE-2023-36013/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-36013
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-36013
- OSV: https://osv.dev/vulnerability/CVE-2023-36013

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-36013/
Summaries are generated and may contain mistakes; the official description above is the record.
