CVE-2026-55074: Pip/ansible-jailexec vulnerability

Published Aug 12, 2026
·
Updated

Through version 1.3.0, the jailexec connection plugin's putfile resolved a transfer's destination to a path on the jail host (<jail filesystem root> + <destination>) and ran mkdir -p and mv there as root on the host. Those commands follow symbolic links, and the path was operated on outside the jail, so a symlink existing inside the jail was followed by the host-side, root-privileged mv.

A party controlling content inside a managed jail (the jail's root, or any process able to create a symlink in a directory an Ansible task later writes to) can therefore cause an arbitrary root-owned write on the host, outside the jail — a full jail escape. Arbitrary root-owned host writes are readily escalated to host compromise (e.g. cron, rc.d, authorizedkeys).

Preconditions: the operator runs a copy/template/fetch-style task (anything using putfile) against the jail, and the attacker can place a symlink inside the jail at or above the task's destination before the transfer runs.

Patches: Fixed in 2.0.0. File transfers now run inside the jail via jexec (mkdir -p <dir> && cat > <dest> for putfile; cat < <src> for fetchfile), so every path resolves within the jail's chroot. An in-jail symlink can at most redirect within the same jail and can no longer reach the host.

Workarounds: None in affected versions; upgrade to 2.0.0.

Resources: - https://github.com/chofstede/ansiblejailexec/blob/main/docs/security/advisory-2.0.0-jail-escape.md - https://github.com/chofstede/ansiblejailexec/pull/6

Affected Software

1 affected componentFixes available
pip/ansible-jailexec<2.0.0
2.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/ansible-jailexec to a version that resolves this vulnerability.

    Fixed in 2.0.0
  2. Upgrade

    Upgrade chofstede/ansible_jailexec (jailexec connection plugin) to a version that resolves this vulnerability.

    Fixed in 2.0.0Patch 2.0.0

Event History

Aug 12, 2026
Advisory Published
via GitHub·11:21 PM
Data Sourced
via GitHub·11:21 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-55074?

CVE-2026-55074 has a risk score of 77, indicating a significant security vulnerability.

2

How do I fix CVE-2026-55074?

To remediate CVE-2026-55074, upgrade to a version of the ansible-jailexec plugin that is 1.3.0 or later.

3

What software is affected by CVE-2026-55074?

CVE-2026-55074 affects the ansible-jailexec connection plugin for pip.

4

What is the main issue with CVE-2026-55074?

The main issue with CVE-2026-55074 is that it allows file operations to be executed as root on the jail host, potentially leading to privilege escalation.

5

When was CVE-2026-55074 published?

CVE-2026-55074 was published on August 12, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203