ADVISORIES

Vulnerability

CVE-2021-4041

A flaw was found in ansible-runner. An improper escaping of the shell command, while calling the ansible_runner.interface.run_command, can lead to parameters getting executed as host's shell command. A developer could unintentionally write code that gets executed in the host rather than the virtual environment.

5 advisories report this vulnerability, across 4 ecosystems.

Advisories in Red Hat

  • RHSA-2022:0108

    Red Hat Security Advisory: ansible-runner security and bug fix update

    CVE-2021-4041 Red Hat Updated 22 November 2025

References