Arbitrary code execution in React server-side rendering of untrusted MDX content
Priority MEDIUM 41CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00648 51st percentileScored 2026-11-07
Fix Fixed Shared library (HashiCorp): 6.0.0next-mdx-remote (npm): 6.0.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| HashiCorp | Shared library | 4.3.0 to before 6.0.0 | 6.0.0 | Patch available | CNA |
| — | next-mdx-remote (npm) | 4.3.0 to before 6.0.0 | 6.0.0 | Patch available | GHSA-g4xw-jxrg-5f6m |
- Shared library VendorHashiCorp Affected 4.3.0 to before 6.0.0 Fixed in 6.0.0 Patch available CNA
- next-mdx-remote (npm) Vendor— Affected 4.3.0 to before 6.0.0 Fixed in 6.0.0 Patch available GHSA-g4xw-jxrg-5f6m
Remediation
- Fix · CNA Shared library (HashiCorp) Fixed in 6.0.0
- Fix · GHSA-g4xw-jxrg-5f6m next-mdx-remote (npm) Fixed in 6.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-0969
- 2026-10-03 Alias added: GHSA-g4xw-jxrg-5f6m
- 2026-10-18 EPSS moved to the 50th–90th percentile
References
Other 4
- https://discuss.hashicorp.com/t/hcsec-2026-01-arbitrary-code-execution-in-react-server-side-rendering-of-untrusted-mdx-content/77155
- 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
More HashiCorp vulnerabilities
- TI-2024-01904 Vault Cert Auth Method Did Not Correctly Validate Non-CA Certificates CVSS 3.1CRITICAL 9.8
- TI-2021-18437 HashiCorp Consul Enterprise before 1.8.17, 1.9.x before 1.9.11, and 1.10.x before 1.10.4… CVSS 3.1HIGH 8.8
- TI-2026-06570 Nomad vulnerable to path traversal in dynamic host volume which may lead to code execution CVSS 3.1HIGH 8.8
- TI-2020-17753 The official Consul Docker images 0.7.1 through 1.4.2 contain a blank password for a root… CVSS 3.1CRITICAL 9.8
- TI-2026-13641 consul-mcp-server vulnerable to cross-tenant credential reuse in streamable-HTTP stateless mode CVSS 3.1CRITICAL 10.0
- TI-2026-13778 terraform-mcp-server vulnerable to cross-tenant credential reuse in streamable-HTTP stateless mode CVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-0969 · CVE Program
- CVE-2026-0969 · NVD
- FIRST EPSS
- GHSA-g4xw-jxrg-5f6m · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences