CVE-2026-0969: CWE-94: Improper Control of Generation of Code (Code Injection) in HashiCorp Shared library
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.
AI Analysis
Technical Summary
The vulnerability CVE-2026-0969 affects the serialize function in the next-mdx-remote library version 4.3.0, used by HashiCorp. It allows arbitrary code execution due to insufficient sanitization of MDX content during compilation. This improper control of code generation (CWE-94) can lead to full compromise of affected systems. The vulnerability has a CVSS 3.1 score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability. The issue is resolved in version 6.0.0 of next-mdx-remote.
Potential Impact
Successful exploitation of this vulnerability allows an attacker with limited privileges to execute arbitrary code remotely, potentially leading to full system compromise including loss of confidentiality, integrity, and availability of the affected system. There are no reports of active exploitation in the wild currently.
Mitigation Recommendations
A fix is available in next-mdx-remote version 6.0.0. Users of affected versions, such as 4.3.0, should upgrade to version 6.0.0 or later to remediate this vulnerability. Since this is not a cloud service, remediation requires applying the updated library version in affected environments. Patch status is confirmed by the vendor advisory stating the issue is fixed in 6.0.0.
CVE-2026-0969: CWE-94: Improper Control of Generation of Code (Code Injection) in HashiCorp Shared library
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-0969 affects the serialize function in the next-mdx-remote library version 4.3.0, used by HashiCorp. It allows arbitrary code execution due to insufficient sanitization of MDX content during compilation. This improper control of code generation (CWE-94) can lead to full compromise of affected systems. The vulnerability has a CVSS 3.1 score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability. The issue is resolved in version 6.0.0 of next-mdx-remote.
Potential Impact
Successful exploitation of this vulnerability allows an attacker with limited privileges to execute arbitrary code remotely, potentially leading to full system compromise including loss of confidentiality, integrity, and availability of the affected system. There are no reports of active exploitation in the wild currently.
Mitigation Recommendations
A fix is available in next-mdx-remote version 6.0.0. Users of affected versions, such as 4.3.0, should upgrade to version 6.0.0 or later to remediate this vulnerability. Since this is not a cloud service, remediation requires applying the updated library version in affected environments. Patch status is confirmed by the vendor advisory stating the issue is fixed in 6.0.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- HashiCorp
- Date Reserved
- 2026-01-14T22:09:31.064Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 698d3b734b57a58fa19a91e8
Added to database: 2/12/2026, 2:31:15 AM
Last enriched: 4/18/2026, 1:46:11 PM
Last updated: 5/12/2026, 4:55:02 AM
Views: 99
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.