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.

  1. Upgrade

    Upgrade ubuntu/node-moment to a version that resolves this vulnerability.

    Fixed in 2.11.0+ds-1ubuntu0.1~esm2
  2. Upgrade

    Upgrade ubuntu/libjs-moment to 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

Child vulnerabilities

Contains the following vulnerabilities.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203