Skip to main content
Vulnerability Database/CVE-2026-107783

CVE-2026-107783: AWS Tools for PowerShell Log Disclosure

CVE-2026-107783 is an information disclosure flaw in AWS Tools for PowerShell that exposes IAM user passwords in logs. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-107783 Overview

CVE-2026-107783 affects AWS Tools for PowerShell versions before 5.0.306. The module writes sensitive information into command output and log artifacts, allowing local users to recover an IAM user's cleartext AWS Management Console password. The flaw is categorized as insertion of sensitive information into a log file [CWE-532].

An attacker with local access to a host where affected cmdlets were executed can inspect PowerShell transcripts and log stores to retrieve the disclosed credentials. The exposure persists until administrators rotate affected passwords and purge the logged material.

Critical Impact

Local users can harvest cleartext IAM console passwords from PowerShell transcripts and log files produced by vulnerable AWS Tools for PowerShell versions.

Affected Products

  • AWS Tools for PowerShell versions prior to 5.0.306
  • PowerShell environments with transcription or logging enabled that executed affected cmdlets
  • Hosts storing historical PowerShell transcripts generated by vulnerable versions

Discovery Timeline

  • 2026-10-09 - CVE-2026-107783 published to NVD
  • 2026-10-09 - Last updated in NVD database

Technical Details for CVE-2026-107783

Vulnerability Analysis

AWS Tools for PowerShell is the official PowerShell module for managing AWS services. In versions before 5.0.306, cmdlets that generate or return an IAM user's AWS Management Console password include the cleartext credential in command output. When PowerShell transcription, module logging, or script block logging is enabled, this output is persisted to on-disk log artifacts.

Any local user with read access to the transcript directory or log store can recover the cleartext password. Because console credentials are long-lived unless manually rotated, the window of exposure extends from the moment the cmdlet was executed to the moment administrators both patch and rotate.

Root Cause

The root cause is improper handling of sensitive data in output streams [CWE-532]. The cmdlet emits the password string to the standard output pipeline rather than redacting it or returning it through a SecureString. PowerShell transcription writes everything in the output pipeline to disk, which captures the credential in plaintext.

Attack Vector

Exploitation requires local access to a system that previously ran the affected cmdlet with transcription or verbose logging enabled. The attacker enumerates PowerShell transcript directories, typically under the user's Documents folder or a central transcript path configured by Group Policy. They then search for IAM-related cmdlet invocations and extract the password strings from the surrounding output. No code execution or privilege escalation is required beyond read access to the log files. See the GitHub Security Advisory GHSA-q3x5-q6rm-c7p3 for additional technical detail.

Detection Methods for CVE-2026-107783

Indicators of Compromise

  • Presence of PowerShell transcript files containing output from IAM-related AWS Tools for PowerShell cmdlets
  • Log entries referencing AWS Tools for PowerShell versions earlier than 5.0.306
  • Unexpected reads of PowerShell transcript directories by non-administrative local accounts

Detection Strategies

  • Inventory installed AWS Tools for PowerShell versions across managed Windows hosts and flag anything below 5.0.306
  • Scan existing PowerShell transcript stores and module log output for strings matching IAM password patterns
  • Audit file access events on configured transcript directories to identify unauthorized readers

Monitoring Recommendations

  • Enable file access auditing on central PowerShell transcript shares and alert on reads by non-privileged accounts
  • Monitor AWS CloudTrail for IAM console sign-in events following execution of affected cmdlets to detect credential reuse
  • Track IAM UpdateLoginProfile and CreateLoginProfile API calls to correlate password material with transcript timestamps

How to Mitigate CVE-2026-107783

Immediate Actions Required

  • Upgrade AWS Tools for PowerShell to version 5.0.306 or later on all hosts, as documented in the GitHub Release v5.0.306
  • Review PowerShell transcripts and centralized log stores for previously disclosed passwords and securely delete affected artifacts
  • Rotate the console passwords of any IAM users whose credentials appeared in logged cmdlet output
  • Review the AWS Security Bulletin 2026-132 for vendor-specific remediation guidance

Patch Information

AWS has released AWS Tools for PowerShell 5.0.306, which removes the sensitive password material from cmdlet output. Install the patched module through the PowerShell Gallery or your internal package repository, then validate the version with Get-Module -ListAvailable AWS.Tools.*.

Workarounds

  • Disable PowerShell transcription and module logging on hosts where upgrading immediately is not feasible
  • Restrict access to transcript directories to administrators only using NTFS permissions
  • Prefer federated access or temporary credentials over IAM console passwords to reduce the sensitivity of logged output
bash
# Upgrade AWS Tools for PowerShell to the patched release
Update-Module -Name AWS.Tools.Installer
Install-AWSToolsModule -Name AWS.Tools.IdentityManagement -MinimumVersion 5.0.306 -Force
Get-Module -ListAvailable AWS.Tools.* | Select-Object Name, Version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.