GHSA-x5rw-q4pp-hg5g: Npm/devalue vulnerability

Published Oct 1, 2026
·
Updated

When serializing multiple promises, a later promise can reject before an earlier one settles. An internal rejected promise remains unhandled even if the caller catches the returned stringifyAsync promise. Under Node's default unhandled-rejection behavior this can terminate the process. Applications whose asynchronous failures/timing can be influenced by requests are potentially exposed.

This is essentially impossible to exploit, and is much more likely to surface as a developer-introduced bug.

Affected Software

1 affected componentFixes available
npm/devalue>=5.8.0<=5.9.2
5.9.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/devalue to a version that resolves this vulnerability.

    Fixed in 5.9.3

Event History

Oct 1, 2026
Advisory Published
via GitHub·03:15 PM
Data Sourced
via GitHub·03:15 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Which applications are most likely to be affected?

Applications are potentially exposed when request handling can influence asynchronous failures or the timing of multiple promises being serialized. The issue is much more likely to appear as a developer-introduced bug than as an exploitable condition.

2

Can handling errors from the returned stringifyAsync promise prevent process termination?

No. A later internal promise can remain unhandled even when the caller catches the promise returned by stringifyAsync.

3

What is the likely operational impact under Node's default settings?

Node's default unhandled-rejection behavior can terminate the process when the internal rejected promise is left unhandled.

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