# CVE-2026-55074: Ansible FreeBSD Jail Connection Plugin: Jail escape via symlink following in put_file (host-side root mv)

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 30% of CVEs (2026-11-30)
- Published: 2026-08-12T23:21:06.000Z
- Modified: 2026-09-24T21:25:27.050Z
- Also known as: GHSA-cxgv-hp74-jj7r, PYSEC-2026-3658
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Ansible FreeBSD Jail Connection Plugin is an Ansible connection plugin for FreeBSD Jails via jexec. Through version 1.3.0, the jailexec connection plugin's put_file resolved a transfer's destination to a path on the jail host ( + ) 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, authorized_keys). Preconditions for this vulnerability are that the operator runs a copy/template/fetch-style task (anything using put_file) against the jail, and the attacker can place a symlink inside the jail at or above the task's destination before the transfer runs. This issue has been fixed in version 2.0.0.

(As written by CVE List.)

## Affected

- chofstede ansible_jailexec: < 2.0.0
- ansible-jailexec (PyPI): before 2.0.0

## Every score

- GitHub_M: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/chofstede/ansible_jailexec/security/advisories/GHSA-cxgv-hp74-jj7r> (web)
- <https://github.com/chofstede/ansible_jailexec/pull/6>
- <https://github.com/chofstede/ansible_jailexec/commit/6e80eecb2db7aebd1258fded6ae5c3aba1dd4123> (web)
- <https://github.com/chofstede/ansible_jailexec/blob/main/docs/security/advisory-2.0.0-jail-escape.md>
- <https://github.com/chofstede/ansible_jailexec/releases/tag/v2.0.0>
- <https://github.com/chofstede/ansible_jailexec> (package)
- <https://pypi.org/project/ansible-jailexec> (package)
- <https://github.com/advisories/GHSA-cxgv-hp74-jj7r> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55074> (advisory)

## Sources

- CVE List: [CVE-2026-55074](https://www.cve.org/CVERecord?id=CVE-2026-55074), CVE Terms of Use, modified 2026-09-21
- GitHub Advisory Database: [GHSA-cxgv-hp74-jj7r](https://github.com/advisories/GHSA-cxgv-hp74-jj7r), CC-BY-4.0, modified 2026-08-19
- NVD: [CVE-2026-55074](https://nvd.nist.gov/vuln/detail/CVE-2026-55074), Public domain, modified 2026-09-24
- PyPA Advisory Database: [PYSEC-2026-3658](https://osv.dev/vulnerability/PYSEC-2026-3658), CC-BY-4.0, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-55074 · Whole record: https://cve.day/CVE-2026-55074.json · Rebuilt by cve.day 2026-11-25T22:59:40.333Z
