Incorrect default permissions in ansible-runner
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
A flaw was found in ansible-runner where the default temporary files configuration in ansible-2.0.0 are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect. The highest threat from this vulnerability is to confidentiality and integrity.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ansible-runner | Affects ansible-runner 2.0 | — | No fix listed | CNA |
| — | ansible-runner (PyPI) | 2.0.0 to before 2.1.0 | 2.1.0 | Patch available | GHSA-wwch-cmqr-hhrm |
- ansible-runner Vendor— Affected Affects ansible-runner 2.0 Fixed in — No fix listed CNA
- ansible-runner (PyPI) Vendor— Affected 2.0.0 to before 2.1.0 Fixed in 2.1.0 Patch available GHSA-wwch-cmqr-hhrm
Remediation
- Fix · GHSA-wwch-cmqr-hhrm ansible-runner (PyPI) Fixed in 2.1.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 4 | Affected | No fix yet: Fix deferred |
Not affected: 10 products
- CloudForms Management Engine 5
- Red Hat Ansible Automation Platform 1.2
- Red Hat Ansible Automation Platform 2
- Red Hat Ansible Tower 3
- Red Hat OpenShift Container Platform 3.11
- Red Hat OpenShift Container Platform 4
- Red Hat OpenStack Platform 13 (Queens)
- Red Hat OpenStack Platform 16 (Train)
- Red Hat Satellite 6
- Red Hat Virtualization 4
Timeline
- 2026-10-02 Threatist record created from CVE-2021-3701
- 2026-10-03 Alias added: GHSA-wwch-cmqr-hhrm
References
Patch 2
Advisory 3
More Red Hat Ansible Runner vulnerabilities
- TI-2021-02929 Improper input validation in ansible-runner CVSS 3.1HIGH 7.8
- TI-2021-02636 Race condition in ansible-runner CVSS 3.1MEDIUM 6.3
Sources
- CVE-2021-3701 · CVE Program
- CVE-2021-3701 · NVD
- FIRST EPSS
- GHSA-wwch-cmqr-hhrm · GitHub Advisory Database · CC BY 4.0
- CVE-2021-3701 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences