npm package report

Is @hapi/inert safe?

1 known vulnerability, worst severity MODERATE.

cvss
5.3

how bad it is if exploited, out of 10

epss
0.60%

chance of exploitation in the next 30 days

xyz score
not scored

CyberXYZ composite, out of 10

fig. 01 — GHSA-rcvq-m9j9-6f4g, the advisory selected below

// advisories

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

NVDMITREOSV


// dependencies

6 direct, 3 carrying known advisories, worst HIGH

Sign in for dependency paths and remediation

// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 02:51 UTC. The most recent advisory here was published 2026-06-11. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is @hapi/inert safe? npm package security report | CyberXYZ