# CVE-2026-0969: Arbitrary code execution in React server-side rendering of untrusted MDX content

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-12 · Modified: 2026-04-17
- Aliases: GHSA-g4xw-jxrg-5f6m
- Record: https://cvemate.com/vulnerability/CVE-2026-0969 · JSON: https://cvemate.com/vulnerability/CVE-2026-0969/json

## Description

```text
The serialize function used to compile MDX in next-mdx-remote is vulnerable to arbitrary code execution due to insufficient sanitization of MDX content. This vulnerability, CVE-2026-0969, is fixed in next-mdx-remote 6.0.0.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.638%, percentile 52.033%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- hashicorp shared library: ≥ 4.3.0, \< 6.0.0
- Npm next-mdx-remote (Npm): ≥ 4.3.0, \< 6.0.0

## References

- <https://discuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-rendering-of-untrusted-mdx-content/77155>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-0969>
- <https://github.com/hashicorp/next-mdx-remote/commit/4d527fdcaed911b87f427d0b4d3c711e817fa4b3>
- <https://github.com/hashicorp/next-mdx-remote>
- <https://github.com/hashicorp/next-mdx-remote/releases/tag/v6.0.0>

---

Data as of 2026-12-05T10:41:24.855Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
