CVE-2025-5891
Keymetric Pm2 vulnerability
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.
Affected products
Pm2. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Keymetric Pm2 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- nvd.nist.gov/vuln/detail/CVE-2025-5891
- github.com/Unitech/pm2/pull/5971
- gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385
- vuldb.com/?ctiid.311662
- vuldb.com/?id.311662
- vuldb.com/?submit.585750
- github.com/advisories/GHSA-x5gf-qvw8-r2rm
- github.com/Unitech/pm2/issues/6075
- nvd.nist.gov/vuln/detail/CVE-2025-5891
- cve.org/CVERecord?id=CVE-2025-5891
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.