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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.44% (percentile 30, 2026-11-26)
- **CWE:** CWE-59
- **Aliases:** GHSA-cxgv-hp74-jj7r, PYSEC-2026-3658
- **Published:** 2026-08-12T23:21:06.000Z
- **Modified:** 2026-09-24T21:25:27.050Z

## Who should check

- Projects that depend on PyPI package ansible-jailexec (\< 2.0.0)
- Anyone running chofstede ansible\_jailexec \< 2.0.0

## 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.

## Affected and fixed versions

- PyPI `ansible-jailexec`: affected \< 2.0.0; fixed 2.0.0 (osv)
- chofstede ansible\_jailexec: \< 2.0.0 (cvelist)

## Mitigation

- Upgrade ansible-jailexec to 2.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55074. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55074.md
Affected: ansible-jailexec < 2.0.0
Fixed in: 2.0.0

Steps:
1. Search this machine and project for ansible-jailexec (PyPI), chofstede ansible_jailexec: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55074 being exploited?

There is no confirmed exploitation: CVE-2026-55074 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-55074?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-55074?

ansible-jailexec \< 2.0.0.

### Is there a fix for CVE-2026-55074?

Yes. Fixed in 2.0.0. Upgrade ansible-jailexec to 2.0.0 or later.

### How do I check if I'm affected by CVE-2026-55074?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55074>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-cxgv-hp74-jj7r> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3658> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-55074> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55074>
