5.9

CVE-2026-17495: moment vulnerable to Path Traversal via crafted non-string locale name

Awaiting 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.45% chance of exploitation in the next 30 days, higher than 41.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.45%
0%100%
Low · -0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

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.45%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

Decrease -0.07 pp

From 0.52% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard40 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 · 55 products

References

11 links
Show all 11 references