CVE & CISA-KEV Catalog

CVE-2026-17495

MEDIUM
5.9
CVSS v3
NVD

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().

How to fix

No published remediation has been found for this vulnerability's affected products yet.

Mitigation guidance may be in the linked vendor advisories in the References section below.

TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploit Intelligence

0.36%probability of exploitation in 30 days
29thpercentile

Low risk: more likely to be exploited than 29% of all known CVEs.

References

Other references2

Related Vulnerabilities

Other CWE-27 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2024-24809High8.554%--
CVE-2023-34125Medium6.525%-Fix
CVE-2022-24785High7.55.5%-Fix
CVE-2023-50254Critical9.32.1%-Fix
CVE-2021-35027High7.52.0%--

Common questions

How do I fix CVE-2026-17495?

No published fix for CVE-2026-17495 has been found yet. Check the linked vendor advisories for guidance as it becomes available.

Is CVE-2026-17495 being actively exploited?

Not that we know of. CVE-2026-17495 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.36% is the estimated probability that it will be exploited in the next 30 days. That is higher than 29% of all scored CVEs.

How severe is CVE-2026-17495?

CVE-2026-17495 has a CVSS v3 base score of 5.9, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

Embed a live status badge for CVE-2026-17495
CVE-2026-17495 severity badge

Markdown

[![CVE-2026-17495](https://tridentstack.com/cve/badge/CVE-2026-17495.svg)](https://tridentstack.com/cve/CVE-2026-17495)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-17495"><img src="https://tridentstack.com/cve/badge/CVE-2026-17495.svg" alt="CVE-2026-17495"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Scan your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-09-16.