CVE-2026-55074

8.2

chofstede · ansible_jailexec

The ansible_jailexec connection plugin for FreeBSD Jails fails to properly resolve symbolic links, allowing an attacker to escape the jail and achieve arbitrary root-privileged writes on the host.

Executive summary

A critical vulnerability in the Ansible FreeBSD Jail connection plugin allows an attacker with control over a managed jail to escape the container and compromise the underlying host system.

Vulnerability

This flaw, categorized as improper link resolution (CWE-59), occurs when the plugin follows symbolic links during file transfer operations. An unauthenticated attacker capable of creating symlinks within the managed jail can trick the host-side root process into writing files outside the intended jail boundaries.

Business impact

Successful exploitation results in a full jail escape, granting the attacker the ability to perform arbitrary root-owned writes on the host system. This level of access typically leads to complete host compromise through the manipulation of sensitive configuration files such as cron jobs or SSH authorized keys, posing a severe risk to infrastructure integrity and data confidentiality. The CVSS score of 8.2 reflects the high impact on system integrity despite the requirement for specific operational conditions.

Remediation

Immediate Action: Update the ansible_jailexec package to version 2.0.0 or later immediately to incorporate the necessary symbolic link validation logic.

Proactive Monitoring: Review Ansible execution logs for suspicious file transfer patterns and monitor host system logs for unauthorized modifications to critical system files or unexpected root-level process execution.

Compensating Controls: Restrict the ability of non-root users within the FreeBSD jail to create symbolic links in directories targeted by Ansible automation tasks.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

The risk posed by this vulnerability is significant due to the potential for full host system compromise. Administrators must prioritize updating the ansible_jailexec plugin to version 2.0.0 across all relevant environments. Given that the flaw allows for privilege escalation from a jail to the host, failing to patch this vulnerability leaves the underlying infrastructure exposed to potential remote code execution and persistent access by unauthorized actors.

History

  1. Disclosed CVE record published
  2. Collected by CVE Brief via github
  3. Analyst report written
  4. Published in the daily brief high section

Sources