{"cve":"CVE-2004-0126","nvd":{"published":"2004-03-29T05:00:00.000","modified":"2026-06-16T22:04:59.767","status":"Modified","description":"The jail_attach system call in FreeBSD 5.1 and 5.2 changes the directory of a calling process even if the process doesn't have permission to change directory, which allows local users to gain read/write privileges to files and directories within another jail.","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:03.jail.asc","http://www.osvdb.org/4101","http://www.securityfocus.com/bid/9762","https://exchange.xforce.ibmcloud.com/vulnerabilities/15344","ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04:03.jail.asc"],"products":["freebsd:freebsd"],"source":"nvd","synced_at":"2026-10-19T19:37:11.487553034+00:00"},"epss":{"cve":"CVE-2004-0126","score":0.00331,"percentile":0.26358,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}