CVE-2025-5891: A vulnerability classified as problematic was found in Unitech pm2 up to 6.0.6
CVE-2025-5891 is a medium-severity flaw (CVSS 4.3) affecting pm2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-5891?
pm2: upgrade to newer than 6.0.6. Exact commands for each OS are on this page.
Is CVE-2025-5891 being exploited?
CVE-2025-5891 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-5891 affect?
CVE-2025-5891 affects pm2. Severity is medium (CVSS 4.3). 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
How urgent is CVE-2025-5891?
Priority 33/100. Public exploit reference