Medium severity5.5NVD Advisory· Published Apr 18, 2022· Updated Jun 17, 2026
CVE-2021-3681
CVE-2021-3681
Description
A flaw was found in Ansible Galaxy Collections. When collections are built manually, any files in the repository directory that are not explicitly excluded via the `build_ignore list in "galaxy.yml" include files in the .tar.gz file. This contains sensitive info, such as the user's Ansible Galaxy API key and any secrets in ansible or ansible-playbook verbose output without theno_log` redaction. Currently, there is no way to deprecate a Collection Or delete a Collection Version. Once published, anyone who downloads or installs the collection can view the secrets.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4- cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:ansible_galaxy:3.3.0:*:*:*:*:*:*:*
- Ansible Galaxy Collections/Ansible Galaxy Collectionsdescription
Patches
Vulnerability mechanics
References
2- bugzilla.redhat.com/show_bug.cginvdIssue TrackingVendor Advisory
- github.com/ansible/galaxy/issues/1977nvdThird Party Advisory
News mentions
0No linked articles in our index yet.