USN-9117-1: node-moment vulnerability
Published Nov 17, 2026
·Updated
It was discovered that Moment.js did not properly validate locale names. If an application passed an untrusted locale name to Moment.js, an attacker could possibly use this issue to load arbitrary files from the file system.
Affected Software
5 affected componentsFixes available
ubuntu/node-moment<2.11.0+ds-1ubuntu0.1~esm2
2.11.0+ds-1ubuntu0.1~esm2
All of the following
ubuntu/libjs-moment<2.11.0+ds-1ubuntu0.1~esm2
2.11.0+ds-1ubuntu0.1~esm2
Ubuntu Ubuntu=16.04
All of the following
ubuntu/node-moment<2.11.0+ds-1ubuntu0.1~esm2
2.11.0+ds-1ubuntu0.1~esm2
Ubuntu Ubuntu=16.04
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/node-momentto a version that resolves this vulnerability.Fixed in 2.11.0+ds-1ubuntu0.1~esm2 - Upgrade
Upgrade
ubuntu/libjs-momentto a version that resolves this vulnerability.Fixed in 2.11.0+ds-1ubuntu0.1~esm2
Event History
Nov 17, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software
Advisory Published
via OSV·12:47 AM
Data Sourced
via OSV·12:47 AM
DescriptionAffected Software
Frequently Asked Questions
1
Which Ubuntu packages are identified as affected?
The notice identifies ubuntu/node-moment and ubuntu/libjs-moment on Ubuntu.
2
What application behavior is required for exploitation?
An application must pass an untrusted locale name to Moment.js. Under that condition, an attacker could potentially cause arbitrary files to be loaded from the file system.