CVE-2026-11819: Community.general: community.general keyring_info — os keyring passphrase returned in plaintext

Published Jun 9, 2026
·
Updated

Hi Red Hat Security Team,

I am reporting a vulnerability in community.general v13.0.0

Module: plugins/modules/keyringinfo.py

CVSS 3.1: 5.5 MEDIUM — AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Issue: The module retrieves a passphrase from the OS native keyring (GNOME Keyring, macOS Keychain, Windows Credential Manager) and places it directly into result["passphrase"] with no output suppression, no nolog protection, and no documentation warning.

Other sources

Module: plugins/modules/keyringinfo.py

CVSS 3.1: 5.5 MEDIUM — AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Issue: The module retrieves a passphrase from the OS native keyring (GNOME Keyring, macOS Keychain, Windows Credential Manager) and places it directly into result["passphrase"] with no output suppression, no nolog protection, and no documentation warning.

Root Cause:

Line 105 (protected): keyringpassword=dict(type="str", required=True, nolog=True) Line 127 (NOT protected): result["passphrase"] = passphrase

Observed Output:

{ "changed": false, "passphrase": "MyMasterP@ssw0rd!SSHKeySecret" } Visible via register + debug: { "keyringresult": { "changed": false, "passphrase": "MyMasterP@ssw0rd!SSHKeySecret" } }

Impact:

Master passwords, SSH key passphrases and service credentials appear in all Ansible output

register: keyringresult followed by debug: var=keyringresult prints passphrase in full

Ansible fact caching backends (Redis, JSON file, memcached) may persist the passphrase

AWX/Tower job logs silently store the live credential

Fix:

module.exitjson(changed=False, passphrase=passphrase, ansiblenolog=True)

Also add a documentation warning requiring callers to use nolog: true at the task level.

PoCs

Fig 1: PoC execution showing passphrase in plaintext output

Fig 2: Source code showing nolog=True on input (line 105) vs unprotected output (line 127)

MITRE

Affected Software

2 affected components
ansible/community/general=13.0.0
redhat Enterprise Linux=10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade community.general to a version that resolves this vulnerability.

    Fixed in 13.0.0
  2. Configuration

    When calling community.general keyring_info, set task-level or module invocation no_log: true so the module result (including result["passphrase"]) is not logged; the report contrasts keyring_password declared with no_log=True at line 105 versus passphrase written to result at line 127.

    Ansible task using community.general keyring_info no_log = true
  3. Compensating control

    Avoid storing or persisting the retrieved passphrase in fact caches: if fact caching is enabled with Redis, JSON file, or memcached backends, disable/stop those cache mechanisms for this workflow to prevent passphrase persistence.

  4. Operational

    Treat any existing Ansible runs where the output was registered/debugged (e.g., register: keyring_result followed by debug: var=keyring_result) as credential exposure events; rotate any leaked secrets such as master passwords, SSH key passphrases, and service credentials.

Event History

Jun 9, 2026
Data Sourced
via Red Hat·07:17 PM
DescriptionSeverityAffected Software
Jun 23, 2026
CVE Published
via MITRE·07:53 PM
Data Sourced
via MITRE·07:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-11819?

CVE-2026-11819 has a medium severity rating of 5.5 based on the CVSS 3.1 scoring system.

2

How do I fix CVE-2026-11819?

To mitigate CVE-2026-11819, ensure to update to the latest version of the community.general module where this issue is addressed.

3

What vulnerabilities are associated with CVE-2026-11819?

CVE-2026-11819 exposes the OS keyring passphrase in plaintext, which can lead to unauthorized access to sensitive information.

4

Which software is affected by CVE-2026-11819?

CVE-2026-11819 affects the community.general module in Ansible version 13.0.0.

5

What types of systems are impacted by CVE-2026-11819?

Systems using OS native keyrings such as GNOME Keyring, macOS Keychain, or Windows Credential Manager are impacted by CVE-2026-11819.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203