SB2026091607 - Path traversal in Moment.js
Published: September 16, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path traversal (CVE-ID: CVE-2026-17495)
CWE-ID: CWE-27 - Path Traversal: \'dir/../../filename\'
CVSSv4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to load a file from an attacker-controlled path.
The vulnerability exists due to path traversal in the moment.locale() function when processing a non-string, attacker-influenced locale name. A remote attacker can pass a specially crafted object to moment.locale() to load a file from an attacker-controlled path.
Only server-side npm users are affected; plain string locale names are not affected.
Remediation
Install update from vendor's website.