BACK TO THE WIRE
SW-000331AWS · AWS TOOLS FOR POWERSHELL · AWS TOOLS FOR POWERSHELL V5 · LOGGING OF CMDLET OUTPUT/ARGUMENTSHIGHACTION REQUIRED

AWS Tools for PowerShell <=5.0.305 logs cleartext IAM console passwords

AWS disclosed CVE-2026-107783, a vulnerability in AWS Tools for PowerShell V5 versions 5.0.305 and earlier where sensitive information, including an IAM user's cleartext AWS Management Console password, could be written to log files or command output, allowing local users to recover it. The issue is fixed in version 5.0.306.

SECURITY · IDENTITY · DEVOPS · SECURITY ADVISORY · VULNERABILITY

PUBLISHED OCT 22, 2026 15:02 UTC

WHAT CHANGED

AWS Tools for PowerShell versions up to and including 5.0.305 could insert sensitive information, specifically an IAM user's cleartext AWS Management Console password, into log files and command output accessible to local users. Version 5.0.306 resolves this by addressing the insertion of sensitive information into logs. A workaround is also documented: avoid using the -WhatIf or -Confirm parameters with cmdlets that take sensitive information as arguments when running affected versions.

WHY IT MATTERS

Any local user with access to log files, console output, or terminal history on a machine running vulnerable versions of AWS Tools for PowerShell could potentially recover another IAM user's cleartext AWS Management Console password, enabling unauthorized console access. Administrators managing AWS via PowerShell should treat this as a credential exposure risk requiring prompt remediation and review of existing logs for leaked secrets.

WHO IS AFFECTED

ROLES
Local users with access to command output or log filesIAM users whose console password may be exposed
PRODUCTS
AWS Tools for PowerShell V5
FEATURES
Credential/password handling in cmdlet output and logging
CONFIGURATIONS
Use of -WhatIf or -Confirm parameters with cmdlets containing sensitive arguments
ENVIRONMENTS
Local PowerShell execution environment

WHAT TO DO

  1. 01
    CRITICALAUTOMATABLE

    Upgrade AWS Tools for PowerShell to version 5.0.306 or later to remediate the sensitive information logging issue.

    DOCUMENTATION
  2. 02
    HIGH

    Until upgraded, avoid using -WhatIf or -Confirm on cmdlets that include sensitive information in their arguments to reduce exposure risk.

  3. 03
    HIGH

    Audit existing command output and log files for cleartext IAM user AWS Management Console passwords and rotate any exposed credentials.

  4. 04
    MEDIUM

    Ensure any forked or derivative code based on AWS Tools for PowerShell is patched to incorporate the fix from 5.0.306.

TIMELINE

ANNOUNCED
OCT 9, 2026

SOURCES

  • PRIMARY SOURCEAWS

    CVE-2026-107783 - Insertion of sensitive information into log file in AWS Tools for PowerShell

    PUBLISHED OCT 9, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED OCT 22, 2026 15:02 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?