# CVE-2024-25940: bhyveload(8) host file access

- Severity: Medium 6.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2024-02-15T04:21:57.624Z
- Modified: 2026-06-17T07:16:45.890Z
- Weaknesses: CWE-922
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: freebsd

## 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 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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 14.0-RELEASE before p5; from 13.2-RELEASE before p10; before 13.2; from 13.3 before 14.0; 13.2; 14.0

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-24:01.bhyveload.asc> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20240419-0004/> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-25940](https://www.cve.org/CVERecord?id=CVE-2024-25940), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2024-25940](https://nvd.nist.gov/vuln/detail/CVE-2024-25940), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-25940 · Whole record: https://cve.day/CVE-2024-25940.json · Rebuilt by cve.day 2026-11-25T22:58:36.832Z
