Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
High
Published: 08/12/2026 (08/12/2026, 23:21:06 UTC)
Source: GCVE Database
Product: ansible-jailexec

Description

Ansible jailexec connection plugin versions prior to 2.0.0 contain a vulnerability in the put_file operation that allows a jail escape via symlink following. The plugin runs mkdir and mv commands as root on the host, following symbolic links that can redirect writes outside the jail. An attacker with the ability to create symlinks inside the jail can cause arbitrary root-owned writes on the host, potentially leading to full host compromise. This issue is fixed in version 2.0.0 by performing file operations inside the jail environment, preventing symlink traversal to the host.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

PyPIghsa
ansible-jailexec
Affected versions
<2.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/13/2026, 17:52:13 UTC

Technical Analysis

The Ansible jailexec FreeBSD Jail connection plugin's put_file method, in versions before 2.0.0, resolves destination paths by concatenating the jail filesystem root with the destination path and executes mkdir -p and mv commands as root on the host. These commands follow symbolic links, allowing a symlink placed inside the jail to redirect the host-side root mv operation outside the jail. This enables an attacker controlling content inside the jail to write arbitrary files as root on the host, effectively escaping the jail confinement. The vulnerability requires the operator to run a copy/template/fetch task using put_file against the jail and the attacker to pre-place a symlink at or above the destination path inside the jail. The issue is fixed in version 2.0.0 by running file transfers inside the jail via jexec, ensuring all path resolutions remain within the jail's chroot, thus preventing host escape via symlinks.

Potential Impact

An attacker with the ability to create symlinks inside a managed FreeBSD jail can leverage this vulnerability to cause arbitrary root-owned file writes on the host system outside the jail. This can lead to full host compromise by modifying critical files such as cron jobs, startup scripts, or authorized SSH keys. The vulnerability effectively allows a jail escape, breaking the isolation guarantees of the jail environment.

Mitigation Recommendations

A patch is available in Ansible jailexec version 2.0.0, which fixes the vulnerability by performing file transfers inside the jail environment, preventing symlink traversal to the host. Users should upgrade to version 2.0.0 or later. There are no workarounds for affected versions prior to 2.0.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-cxgv-hp74-jj7r
Osv Schema Version
1.4.0
Aliases
["CVE-2026-55074"]
Ecosystems
["PyPI"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a7e034ebf8831d5398f6be5

Added to database: 08/13/2026, 17:47:58 UTC

Last enriched: 08/13/2026, 17:52:13 UTC

Last updated: 08/13/2026, 22:35:33 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses