# CVE-2026-102281: Nest: Remote process termination via a deeply nested microservice message pattern

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-28T21:21:25.047Z
- Modified: 2026-09-30T19:56:45.443Z
- Also known as: GHSA-m8vh-jmq9-5rjg
- Weaknesses: CWE-248, CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Nest is a framework for building scalable Node.js server-side applications. Prior to 11.2.4 and 12.0.2, a single message with a deeply nested object in its pattern can terminate a NestJS microservice using the TCP or RabbitMQ transport. ServerTCP#handleMessage and ServerRMQ#handleMessage pass a client-controlled non-string pattern to JSON.stringify to derive the handler lookup key; sufficiently deep nesting throws RangeError: Maximum call stack size exceeded, and the unhandled promise rejection terminates Node.js under its default behavior. An attacker who can reach the TCP port or publish to the consumed RabbitMQ queue or exchange can crash the service on demand; other transports are not affected because their patterns arrive as strings. This issue is fixed in versions 11.2.4 and 12.0.2.

(As written by CVE List.)

## Affected

- nestjs nest: < 11.2.4; >= 12.0.0, < 12.0.2
- @nestjs/microservices (npm): before 11.2.4; from 12.0.0 before 12.0.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/nestjs/nest/security/advisories/GHSA-m8vh-jmq9-5rjg> (exploit, web)
- <https://github.com/nestjs/nest/pull/17737> (web)
- <https://github.com/nestjs/nest/commit/aa97b5144d8dff1ce700aac521eb86449a679d6f> (web)
- <https://github.com/nestjs/nest/commit/e9dcd4c7ac64361fbfe79461da85f5b3fc3e02da> (web)
- <https://github.com/nestjs/nest/releases/tag/v11.2.4> (web)
- <https://github.com/nestjs/nest/releases/tag/v12.0.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102281> (advisory)
- <https://github.com/nestjs/nest> (package)

## Sources

- CVE List: [CVE-2026-102281](https://www.cve.org/CVERecord?id=CVE-2026-102281), CVE Terms of Use, modified 2026-09-29
- GitHub Advisory Database: [GHSA-m8vh-jmq9-5rjg](https://github.com/advisories/GHSA-m8vh-jmq9-5rjg), CC-BY-4.0, modified 2026-09-30
- NVD: [CVE-2026-102281](https://nvd.nist.gov/vuln/detail/CVE-2026-102281), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-102281 · Whole record: https://cve.day/CVE-2026-102281.json · Rebuilt by cve.day 2026-11-25T22:59:41.401Z
