GHSA-rcvq-m9j9-6f4g
MODERATECVE-2026-48049@hapi/inert serves static files from a directory configured with path (in the directory / file handlers) or relativeTo (for h.file()), with confinement enforced by the confine option (default true). Before the patch, the confinement check compared the resolved absolute path against the confine directory using a raw string-prefix test, so a sibling directory whose absolute path begins with the same
- Affected
- >=4.0.0, <7.1.1, >= 4.0.0, <= 7.1.0
- Fixed in
- 7.1.1
- Weakness
- CWE-22
- Published
- 2026-06-11
- Source
- osv