PYSEC-2026-768

    Dashboard / Vulnerabilities / PYSEC-2026-768

    PYSEC-2026-768

    Published: 7 Jul 2026Last Modified: 7 Jul 2026

    Summary: Ansible leaks password to logs

    Details: A flaw was found in Ansible in the amazon.aws collection when using the `tower_callback` parameter from the `amazon.aws.ec2_instance` module. This flaw allows an attacker to take advantage of this issue as the module is handling the parameter insecurely, leading to the password leaking in the logs.

    Affected packages

    Package

    Name: ansible

    Purl: pkg:pypi/ansible

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.5.0
    Fixed -7.0.0

    Affected versions

    2.10.0
    2.10.0a1
    2.10.0a2
    2.10.0a3
    2.10.0a4
    2.10.0a5
    2.10.0a6
    2.10.0a7
    2.10.0a8
    2.10.0a9
    2.10.0b1
    2.10.0b2
    2.10.0rc1
    2.10.1
    2.10.2
    2.10.3
    2.10.4
    2.10.5
    2.10.6
    2.10.7

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High