
CVE catalog
CVE-2026-16566
ansible: CVE-2026-16566
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
A flaw was found in the community.general Ansible collection's jenkins_credential module. When creating a Jenkins API token (credential_type: token), the module correctly protects the input password with no_log=True in the argument specification, but places the generated API token returned by the Jenkins API directly into the Ansible task result dictionary without output suppression. The token is emitted in plaintext via exit_json(), causing it to appear in Ansible task output, AWX/Tower/AAP Controller job logs, callback plugin output, CI/CD pipeline logs, and fact caching backends. An attacker with access to any of these output channels can obtain the Jenkins API token and gain the same privileges as the user who created it. community.general: community.general: jenkins_credential module returns generated API token in plaintext output The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ansible | sid | 14.4.0+dfsg-1 | vulnerable |
| Debian | ansible | forky | 14.0.0+dfsg-1 | vulnerable |
| Debian | ansible | trixie | 12.0.0+dfsg-0+deb13u1 | vulnerable |
| Debian | ansible | bookworm | 7.7.0+dfsg-3+deb12u1 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ansible | source | sid | (unfixed) | not yet assigned | Not reported | [1146700] |
| Debian | ansible | source | forky | (unfixed) | not yet assigned | Not reported | [1146700] |
| Debian | ansible | source | trixie | (unfixed) | not yet assigned | Not reported | [1146700] |
| Debian | ansible | source | bookworm | Not affected | unimportant | Not reported | [1146700] |
Notes
[trixie] ansible: Minor issue
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [ansible]Affected
Details (2)
12.0.0+dfsg-0+deb13u1· all · trixieAffected
dsa · ansible · debian · 13
12.0.0+dfsg-0+deb13u1· all · trixieAffected
dsa · ansible · debian · 13
[Debian 12 (Bookworm)]
- [ansible]Not affected
Details (2)
7.7.0+dfsg-3+deb12u1· all · bookwormNot affected
dsa · ansible · debian · bookworm
7.7.0+dfsg-3+deb12u1· all · bookwormNot affected
dsa · ansible · debian · bookworm
Observed: