Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-4041

20
FAUCET Score

CVE-2021-4041 describes an improper escaping vulnerability in ansible-runner, affecting Red Hat ansible_runner. This flaw allows shell commands to be executed on the host system instead of within the intended virtual environment, potentially leading to arbitrary code execution. With a CVSS score of 7.8 (High), it requires user interaction and local access but can result in high confidentiality, integrity, and availability impacts. There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion surrounding this vulnerability.

Impacted Technologies

VendorProductVersion(s)CPE
< 2.1.0CPE matchmatch criteria
cpe:2.3:a:redhat:ansible_runner:*:*:*:*:*:*:*:*
2.1.0CPE matchmatch criteria
cpe:2.3:a:redhat:ansible_runner:2.1.0:alpha1:*:*:*:*:*:*
2.1.0CPE matchmatch criteria
cpe:2.3:a:redhat:ansible_runner:2.1.0:alpha2:*:*:*:*:*:*
2.1.0CPE matchmatch criteria
cpe:2.3:a:redhat:ansible_runner:2.1.0:beta1:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.8HIGH

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

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.31%
Probability of exploitation in next 30 days
EPSS Percentile
23.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0031 is in the 22nd percentile among its peer group of 11,621 CVEs.

Social Chatter

No social media mentions found for this CVE.

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (8)

github_advisorypatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: ansible-runnerFixed in: 2.1.0
redhatpatch availablevia nvd_reference
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Ansible Automation Platform 2.0 for RHEL 8Fixed in: ansible-runner-0:2.0.3-2.el8ap
View patch
redhatno patchvia redhat_api
Product: Red Hat Satellite 6Fixed in: ansible-runner
redhatend of lifevia redhat_api
Product: Red Hat OpenStack Platform 16.2Fixed in: python-ansible-runner
redhatend of lifevia redhat_api
Product: Red Hat OpenStack Platform 17.0Fixed in: python-ansible-runner
redhatend of lifevia redhat_api
Product: Red Hat OpenStack Platform 16.1Fixed in: python-ansible-runner

Vendor Advisories (2)

pipGHSA-6j58-grhv-2769high

ansible-runner vulnerable to shell command injection

Aug 25, 2022
redhatCVE-2021-4041Moderate

Ansible: Improper shell escaping in ansible-runner

Dec 1, 2021

References

access.redhat.com / security/cve/CVE-2021-4041
Vendor Advisory
bugzilla.redhat.com / show_bug.cgi
Issue TrackingPatchVendor Advisory
github.com / ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd
PatchThird Party Advisory