Description
Bastille through 1.4.4 contains a symlink following vulnerability in the cp.sh, rcp.sh and jcp.sh subcommands that allows jailed users to escape jail isolation. Attackers inside a jail can plant symlinks pointing to host paths or other jail roots, so administrator-run copies overwrite or read host files with root privileges.
Published: 2026-10-30
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Privilege Escalation – Jail Escape
Action: Patch ASAP
AI Analysis

Impact

The vulnerability is a symlink following flaw in the cp.sh, rcp.sh, and jcp.sh scripts of Bastille. Jailed users can plant symbolic links that point to paths outside the jail. When the copy commands run, the links are dereferenced, allowing attackers to read or overwrite files on the host system with root privileges. This results in a privilege escalation and jail escape.

Affected Systems

This issue affects all installations of BastilleBSD Bastille up through version 1.4.4. The flaw appears in the copy and remote copy utilities when executed by a user inside a FreeBSD jail. Users running Bastille on systems that rely on jails for isolation are potentially impacted. No other versions were reported before the fix.

Risk and Exploitability

The CVSS base score of 5.3 indicates a moderate impact. While the EPSS score is not available, the absence from the KEV catalog suggests no public exploits are documented. The attack vector is assumed to be local, requiring an attacker already inside a jail to manipulate symlinks; if this condition is met, the exploit is straightforward and requires no additional software. Administrators should treat this as a patchable flaw that can have significant security consequences if left unaddressed.

Generated by OpenCVE AI on October 30, 2026 at 16:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Bastille to a release newer than 1.4.4, which removes the symlink following behavior in the copy utilities.
  • As an interim measure, restrict the execution of cp, rcp, or jcp inside jails or adjust the scripts to reject paths that are not strictly within the jail.
  • Validate that the jailed environment does not mount host directories as writable, and set the HOME directory for jailed users to a non‑writeable location to limit symlink placement.

Generated by OpenCVE AI on October 30, 2026 at 16:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description Bastille through 1.4.4 contains a symlink following vulnerability in the cp.sh, rcp.sh and jcp.sh subcommands that allows jailed users to escape jail isolation. Attackers inside a jail can plant symlinks pointing to host paths or other jail roots, so administrator-run copies overwrite or read host files with root privileges.
Title Bastille through 1.4.4 Jail Escape via Symlink Following in cp, rcp, jcp
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-30T15:16:04.687Z

Reserved: 2026-10-30T14:49:22.641Z

Link: CVE-2026-119704

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-30T16:17:51.300

Modified: 2026-10-30T16:17:51.300

Link: CVE-2026-119704

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T16:45:15Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')