5.3

CVE-2026-48049: hapijs inert Path Traversal

CVSS: 5.3v3.1MediumDeferred
AliasesCGA-8x93-f7h7-x7v9CGA-gwvv-c7hv-m7xrGHSA-rcvq-m9j9-6f4g
Published 17-07-2026Last modified 21-07-2026

Vulnerability summary

CVE-2026-48049 is a medium (CVSS 5.3) Path Traversal vulnerability in hapijs inert. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 47.2% of scored vulnerabilities.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.59%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 17-07-2026
    PublishedVulnerability first disclosed.
  2. 21-07-2026
    Last modifiedVulnerability information updated.

Description

@hapi/inert provides static file and directory handlers for hapi.js. From 4.0.0 to 7.1.0, @hapi/inert serves static files from a directory configured with path in the directory or file handlers or relativeTo for h.file(), with confinement enforced by the confine option, but the confinement check compared the resolved absolute path against the confine directory using a raw string-prefix test, so a sibling directory such as /app/static-secret next to /app/static was incorrectly accepted and could allow an unauthenticated remote attacker to read files via /..%2fstatic-secret/secret.txt. This issue is fixed in version 7.1.1.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.59%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

0.00 pp

From 0.59% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.59%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard24 products
  • kibana-7All versions (No fix recorded)
  • kibana-8.17< 8.17.10-r25
  • kibana-8.17-bitnami< 8.17.10-r25
  • kibana-8.17-iamguarded< 8.17.10-r25
  • kibana-8.19< 8.19.17-r0
@hapi1 product
  • inert≥ 4.0.0, < 7.1.1
Hapijs1 product
Wolfi1 product
  • opensearch-dashboards-3< 3.8.0-r0

4 vendors · 27 products

References

8 links