{"id":"CVE-2026-119704","kind":"vulnerability","aliases":["CVE-2026-119704"],"related":[],"title":"Bastille: symlink following lets jailed users escape isolation","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.","summary":"Bastille, a FreeBSD jail management tool, has a symlink-following flaw in its cp.sh, rcp.sh and jcp.sh subcommands. A user inside a jail can plant symlinks that make administrator-run copies overwrite or read host files as root.","severity":"medium","cvss":6.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["bastille","freebsd","infrastructure","jails","self-hosted"],"not_affected_if":["default-config","no-bastille","single-user-jails"],"how_to_check":"- Check the installed Bastille version with `bastille version` and compare it to the fixed release.\n- Confirm whether the cp, rcp or jcp subcommands are used on the host by administrators.","fix":"- Bastille: versions through `1.4.4` are affected; the sources do not name a fixed version.","status":"open","published_at":"2026-10-30T16:17:51+00:00","first_seen_at":"2026-10-30T16:31:26+00:00","triaged_at":"2026-10-30T16:32:20+00:00","updated_at":"2026-10-30T16:32:20+00:00","category":"infrastructure","confidence":0.6,"triage":{"at":"2026-10-30T16:32:20Z","model":"claude-haiku-5-5","output":{"fix":"- Bastille: versions through `1.4.4` are affected; the sources do not name a fixed version.","reach":"local","title":"Bastille: symlink following lets jailed users escape isolation","impact":"high","summary":"Bastille, a FreeBSD jail management tool, has a symlink-following flaw in its cp.sh, rcp.sh and jcp.sh subcommands. A user inside a jail can plant symlinks that make administrator-run copies overwrite or read host files as root.","audience":"businesses","category":"infrastructure","nicknames":[],"who_cares":["bastille","freebsd","jails","self-hosted"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"root on host reads or overwrites host files from jail","analyst_note":"Confirm the fixed Bastille version and whether the cp, rcp and jcp subcommands are the only affected paths; check the NVD entry and the Bastille project changelog.","how_to_check":"- Check the installed Bastille version with `bastille version` and compare it to the fixed release.\n- Confirm whether the cp, rcp or jcp subcommands are used on the host by administrators.\n- unknown for any further check; the sources do not say.","plain_action":"","needs_analyst":true,"not_affected_if":["no-bastille","single-user-jails","default-config"],"who_is_affected":"Hosts running Bastille 1.4.4 or earlier that have jails where untrusted users have access, and where administrators run the cp, rcp or jcp subcommands. Systems without Bastille, or without multi-user jails, are not exposed through this flaw.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000715,"input_tokens":4156,"output_tokens":598,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-119704':11A,14A '-2026':10A,13A '1.4.4':64C 'administr':52B,102C 'administrator-run':51B,101C 'allow':78C 'attack':85C 'bastill':1A,15B,22B,62C 'contain':65C 'copi':54B,104C 'cp.sh':36B,72C 'cve':9A,12A 'escap':7A,82C 'file':59B,109C 'flaw':33B 'follow':3A,32B,68C 'freebsd':16B,24B 'host':21B,58B,94C,108C 'infrastructur':17B 'insid':43B,86C 'isol':8A,84C 'jail':5A,18B,25B,45B,79C,83C,88C,98C 'jcp.sh':39B,75C 'let':4A 'make':50B 'manag':26B 'overwrit':55B,105C 'path':95C 'plant':47B,90C 'point':92C 'privileg':112C 'rcp.sh':37B,73C 'read':57B,107C 'root':61B,99C,111C 'run':53B,103C 'self':20B 'self-host':19B 'subcommand':40B,76C 'symlink':2A,31B,48B,67C,91C 'symlink-follow':30B 'tool':27B 'user':6A,42B,80C 'vulner':69C","nicknames":[],"mitigations":[],"who_affected":"Hosts running Bastille 1.4.4 or earlier that have jails where untrusted users have access, and where administrators run the cp, rcp or jcp subcommands. Systems without Bastille, or without multi-user jails, are not exposed through this flaw.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T16:17:51+00:00","kev":null,"cvss_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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-119704","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119704","severity":null,"published_at":"2026-10-30T16:17:51+00:00","modified_at":"2026-10-30T16:17:51+00:00","first_seen_at":"2026-10-30T16:31:26+00:00","fetched_at":"2026-10-30T16:31:26+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}