5.9

CVE-2026-17495: moment Path Traversal: 'dir/../../filename'

CVSS: 5.9v3.1MediumAwaiting analysis
AliasesUBUNTU-CVE-2026-17495DEBIAN-CVE-2026-17495CGA-25hc-q8m7-74wf
Published 15-09-2026Last modified 15-09-2026

Vulnerability summary

CVE-2026-17495 is a medium (CVSS 5.9) Path Traversal: 'dir/../../filename' vulnerability in moment. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 27.9% of scored vulnerabilities.

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

Timeline

  1. 15-09-2026
    PublishedVulnerability first disclosed.
  2. 15-09-2026
    Last modifiedVulnerability information updated.

Description

moment is a JavaScript date library for parsing, validating, manipulating, and formatting dates. In versions 2.29.2 through 2.30.1, a specially crafted non-string object passed to moment.locale() can bypass the locale-name path-traversal guard. The guard assumes the input is a string, so an object whose match() method satisfies the check while its toString() returns a traversal path reaches an internal require() call with attacker-controlled path segments. This is an incomplete fix for CVE-2022-24785 and primarily affects npm (server-side) users that pass user-provided input directly to moment.locale(). The issue is fixed in moment 2.31.0, and users should upgrade to 2.31.0 or later. As a workaround, validate that any user-supplied input is a string before passing it to moment.locale().

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

0.00 pp

From 0.36% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.36%

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

Chainguard39 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2All versions (No fix recorded)
  • arangodb-3.12< 3.12.12.1-r1
  • azurite< 3.37.0-r2
  • jupyter-base-notebookAll versions (No fix recorded)
Wolfi10 products
  • jupyter-base-notebookAll versions (No fix recorded)
  • kubeflow-centraldashboard< 2.0.0-r4
  • nextcloud-server-33< 33.0.9-r2
  • opensearch-dashboards-3< 3.8.0-r11
  • opensearch-dashboards-3-security-analytics-dashboards-plugin< 3.8.0-r11
Ubuntu2 products
  • node-momentAll versions (No fix recorded)
  • python-xstatic-momentAll versions (No fix recorded)
Debian1 product
  • node-momentAll versions (No fix recorded) | < 2.31.0+ds1-1
Moment1 product
Npm1 product
  • moment≥ 2.29.2, < 2.31.0

6 vendors · 54 products

References

11 links
Show all 11 references