---
title: "CVE-2026-17495"
canonical_url: "https://pkgseek.com/security/CVE-2026-17495"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-17495

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…

CVE-2026-17495 严重级别为 MEDIUM (5.9)，共索引 6 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: MEDIUM (5.9)
- **受影响构建数**: 6
- **涉及发行版**: 2
- **已标明修复版本发行版**: Fedora

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libjs-moment | 2.29.4+ds-1 | — |
| Debian | trixie | node-moment | 2.29.4+ds-1 | — |
| Fedora | 43 | sgx-pccs | 2.26-4.fc43 | 1:1.27-2.fc43 |
| Fedora | 44 | sgx-pccs | 2.27-5.fc44 | 1:1.27-2.fc44 |
| Fedora | 45 | sgx-pccs | 1:1.26-2.fc45 | 1:1.27-2.fc45 |
| Fedora | 45 | sgx-pccs-admin | 1:1.26-2.fc45 | 1:1.27-2.fc45 |
