CVE-2025-5891: Unitech pm2 · ReDoS
Affects Unitech pm2Source CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 9 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmpm2pkg:npm/pm2Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Immediate mitigation should include restricting network exposure of pm2 management interfaces by implementing strict firewall rules and network segmentation to limit access only to trusted administrators or internal systems. 2. Monitor and audit pm2 logs and system resource usage for unusual spikes indicative of regex-based DoS attempts. 3. If possible, upgrade pm2 to a version beyond 6.0.6 once a patch is released by Unitech addressing this vulnerability. 4. In the absence of an official patch, consider applying temporary workarounds such as disabling or restricting features that process untrusted input through the vulnerable regex in /lib/tools/Config.js. 5. Employ Web Application Firewalls (WAFs) or Intrusion Prevention Systems (IPS) with custom rules to detect and block suspicious payloads targeting regex processing. 6. Conduct internal vulnerability scanning and penetration testing focused on pm2 instances to identify exposure and validate mitigation effectiveness. 7. Educate DevOps and security teams about this vulnerability to ensure rapid response and incident handling if exploitation attempts are detected.
Description
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.