CVE-2026-97705: Moleculer: Unauthenticated Denial of Service via negative length field in the TCP transporter packet parser
Published 2026-11-09 · Updated 2026-11-09 · Also known as GHSA-h89v-g948-47vp
Summary
Moleculer's TCP transporter contains a flaw where a crafted packet with a negative length field triggers an infinite synchronous loop, resulting in a denial-of-service. Engineering teams using Moleculer with the TCP transporter should update to the patched versions immediately to prevent event loop exhaustion.
Who is affected
This vulnerability affects any Moleculer node configured with the TCP transporter, as the parser processes bytes directly from incoming sockets without authentication. An unauthenticated attacker can crash the entire Node.js event loop by sending a small, specially crafted TCP packet. This renders all services hosted in that process unresponsive until the service is manually restarted.
Exploitability
The vulnerability is rated High with a CVSS 3.1 score of 7.5, indicating it is easily exploitable over the network with no authentication or privileges required. With an EPSS score of 0.004, the probability of exploitation is currently low, and it is not documented in the CISA KEV catalog.
Remediation
- Upgrade moleculer to version 0.14.36 or higher for the 0.14.x branch.
- Upgrade moleculer to version 0.15.2 or higher for the 0.15.x branch.
How to check your project
- Check the project's package.json or lock files to verify if the moleculer version falls within the ranges 0.15.0-beta1 to 0.15.1 or 0 to 0.14.35.
- Review application configuration to determine if the TCP transporter is in use.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | moleculer |
>= 0.15.0-beta1, < 0.15.2 | 0.15.2 | npm install [email protected] |
| npm | moleculer |
>= 0, < 0.14.36 | 0.14.36 | npm install [email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
Can I mitigate this by adjusting maxPacketSize?
No. The vulnerability arises from how the length field is parsed, and maxPacketSize limits the total buffer size rather than validating the integrity of the length header.
Is authentication required to trigger this crash?
No. The TCP transporter parses packets immediately upon connection, before any handshake or authentication protocols are performed.
Does this vulnerability impact the UDP broadcast discovery mechanism?
The vulnerability exists in the TCP transporter, which may be auto-discovered via UDP broadcast; however, the actual exploitation occurs through the established TCP connection.
Original advisory description
References
- WEB https://github.com/moleculerjs/moleculer/security/advisories/GHSA-h89v-g948-47vp
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-97705
- WEB https://github.com/moleculerjs/moleculer/commit/168ecbdc245c9a9d1dc4ef9b8a81dbae38ee3063
- WEB https://github.com/moleculerjs/moleculer/commit/914074e502ae403a0338ad168b45b16d6bcc3e44
- PACKAGE https://github.com/moleculerjs/moleculer
- WEB https://github.com/moleculerjs/moleculer/releases/tag/v0.14.36
- WEB https://github.com/moleculerjs/moleculer/releases/tag/v0.15.2
Source records: GHSA-h89v-g948-47vp (OSV.dev) · EPSS by FIRST, 2026-11-26.