Skip to main content
EPSS 1.7%top 24%

Powershell: .NET Remote Code Execution Vulnerability (CVE-2025-21171)

0
High
Published: 09/04/2025 (09/04/2025, 17:48:57 UTC)
Source: GCVE Database
Product: powershell

Description

CVE-2025-21171 is a high-severity remote code execution vulnerability affecting multiple versions of PowerShell's .NET framework implementation. The flaw allows an attacker to execute arbitrary code remotely. Red Hat has issued security advisories providing updated .NET SDK and Runtime packages that address this vulnerability. Patch updates are available for affected versions, and users are advised to apply these updates promptly to mitigate the risk.

Affected software

Affected versions
>=8.0 <8.11>=9.0 <9.6>=9.6 <9.9>=7.5.0 <7.5.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 15:13:14 UTC

Technical Analysis

CVE-2025-21171 is a remote code execution vulnerability in the .NET framework used by PowerShell. It affects multiple version ranges including >=7.5.0 <7.5.2, >=8.0 <8.11, >=9.0 <9.6, and >=9.6 <9.9. The vulnerability is addressed by updates to .NET SDK 9.0.102 and Runtime 9.0.1, as detailed in Red Hat security advisories RHBA-2025:0305 and RHSA-2025:0382. These advisories cover fixes for this and related vulnerabilities, providing updated packages for Red Hat Enterprise Linux 8 and 9 variants. No known exploits in the wild have been reported at this time.

Potential Impact

Successful exploitation of this vulnerability could allow remote attackers to execute arbitrary code on affected systems, potentially leading to full system compromise. This elevates the risk for systems running vulnerable versions of PowerShell's .NET framework. However, no active exploitation has been observed in the wild according to current data.

Mitigation Recommendations

Official patches are available from Red Hat for affected .NET SDK and Runtime versions. Users should apply the updates to .NET SDK 9.0.102 and Runtime 9.0.1 as provided in Red Hat advisories RHBA-2025:0305 and RHSA-2025:0382. Following vendor guidance for patching is the recommended mitigation. No additional vendor-stated mitigations or workarounds are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHBA-2025:0305
Cve Count
4
Additional Cves
["CVE-2025-21172","CVE-2025-21173","CVE-2025-21176"]

Threat ID: 6a498a9f27e9c79719377053

Added to database: 07/04/2026, 22:35:11 UTC

Last enriched: 09/08/2026, 15:13:14 UTC

Last updated: 09/10/2026, 19:36:49 UTC

Views: 42

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses