{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-25940","id":"CVE-2024-25940","title":"bhyveload(8) host file access","description":"`bhyveload -h <host-path>` may be used to grant loader access to the <host-path> directory tree on the host.  Affected versions of bhyveload(8) do not make any attempt to restrict loader's access to <host-path>, allowing the loader to read any file the host user has access to. In the bhyveload(8) model, the host supplies a userboot.so to boot with, but the loader scripts generally come from the gu","descriptionLong":"`bhyveload -h <host-path>` may be used to grant loader access to the <host-path> directory tree on the host.  Affected versions of bhyveload(8) do not make any attempt to restrict loader's access to <host-path>, allowing the loader to read any file the host user has access to. In the bhyveload(8) model, the host supplies a userboot.so to boot with, but the loader scripts generally come from the guest image.  A maliciously crafted script could be used to exfiltrate sensitive data from the host accessible to the user running bhyhveload(8), which is often the system root.","published":"2024-02-15T04:21:57.624Z","updated":"2026-06-17T07:16:45.890Z","reserved":"2024-02-13T03:02:51.610Z","status":"Analyzed","rejected":false,"assigner":"freebsd","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"CISA-ADP"}],"rating":"medium","products":["FreeBSD"],"affectedProducts":[{"vendor":"FreeBSD","product":"FreeBSD","defaultStatus":"unknown","versions":[{"lessThan":"p5","status":"affected","version":"14.0-RELEASE","versionType":"release"},{"lessThan":"p10","status":"affected","version":"13.2-RELEASE","versionType":"release"}],"platforms":[]}],"packages":[],"cwes":["CWE-922"],"aliases":[],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc","tags":["vendor-advisory","x_transferred","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240419-0004/","tags":["x_transferred","Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00506,"epssPercentile":0.44,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-25940","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25940","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-25940","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-25940","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}