CVE-2025-5891 json
Unitech pm2 Config.js redos
published 2025-06-09 17 mo ago modified 2026-06-17 4 mo ago also GHSA-x5gf-qvw8-r2rm , EUVD-2025-17577
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
A vulnerability classified as problematic was found in Unitech pm2 up to 6.0.6. This vulnerability affects unknown code of the file /lib/tools/Config.js. The manipulation leads to inefficient regular expression complexity. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
Patch / fix
- npm pm2 7.0.0
- github.com/Unitech/pm2@8b93548 commit
- github.com/Unitech/pm2#5971 pull request
- github.com/Unitech/pm2/releases/tag/v7.0.0 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Unitech/pm2/pull/5971 referenced PoC, tagged "exploit" by a source, unverified
- gist.github.com https://gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P |
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:T/RC:R |
| CNA | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:T/RC:R |
| CNA | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:TF/RC:UR |
| CNA | 4.0 | 2.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CNA | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | pm2 | <7.0.0 |
7.0.0 |
Affected products
- Unitech pm2
Classification
References
-
github.com
/Unitech/pm2/pull/5971
issue-tracking, exploit, web, patch
-
github.com
/Unitech/pm2/commit/8b9354800a1d157cb9503a3ec414ef1e4700dc1c
web
-
gist.github.com
/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385
exploit, web, product
-
vuldb.com
/?id.311662
vdb-entry, web, third-party-advisory
-
vuldb.com
/?ctiid.311662
signature, permissions-required, web, vdb-entry
-
vuldb.com
/?submit.585750
third-party-advisory, web, vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2025-5891
advisory
-
github.com
/Unitech/pm2/issues/6075
web
-
github.com
/Unitech/pm2
package
-
github.com
/Unitech/pm2/blob/ba62cae9b9b7116ee758b70f538919a52515fa26/CHANGELOG.md?plain=1#L36
web
-
github.com
/Unitech/pm2/releases/tag/v7.0.0
web
Sources
- CVE List CVE-2025-5891
- GitHub Advisory GHSA-x5gf-qvw8-r2rm
- NVD CVE-2025-5891
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.