CVE-2026-123562
devalue: stringifyAsync can cause an unhandled rejection despite a caught returned promise
Description
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 Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » devaluevia npm devalue | >= 5.8.0, < 5.9.3 | 5.9.3 |
| org.webjars.npm » devaluevia npm devalue | >= 5.8.0, < 5.9.3 | 5.9.3 |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Package | sveltejs/devalue | github.com |
| Web | sveltejs/devalue advisory GHSA-x5rw-q4pp-hg5g | github.com |
| Web | sveltejs/devalue commit dae8153 | github.com |
| Web | sveltejs/devalue release v5.9.3 | github.com |
