Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
Critical cPanel Vulnerability Exposes User Accounts
September 23, 2026
Outerlimit Raises $16M to Secure AI Agents with Zero Trust
September 23, 2026
Critical IBM FTM Flaws Let Attackers Execute Code and Access Payment Systems
September 23, 2026
Home/Vulnerabilities/Critical Next.js CVE-2024-XXXXX RCE Flaw Lets Attackers Use SVG Files
Vulnerabilities

Critical Next.js CVE-2024-XXXXX RCE Flaw Lets Attackers Use SVG Files

Key Takeaways A critical remote code execution (RCE) vulnerability (CVE-2026-94545) has been identified in Next.js versions 16.2.0 through 16.3.5. The flaw impacts the Node.js ImageResponse...

Emy Elsamnoudy
Emy Elsamnoudy
September 23, 2026 3 Min Read
3 0

Key Takeaways

  • A critical remote code execution (RCE) vulnerability (CVE-2026-94545) has been identified in Next.js versions 16.2.0 through 16.3.5.
  • The flaw impacts the Node.js ImageResponse implementation within the next/og package, specifically when processing malicious SVG content.
  • Attackers can exploit this by injecting crafted SVG data into applications that use untrusted input for image generation.
  • The vulnerability carries a Critical CVSS v4 severity rating, allowing unauthenticated, remote exploitation.
  • A patch is available in Next.js version 16.3.6, and immediate upgrades are strongly recommended.

A severe vulnerability has been uncovered in Next.js, designated as CVE-2026-94545, which could enable remote code execution (RCE) on affected systems. This critical flaw resides within the Node.js ImageResponse implementation, part of the next/og package, and can be triggered through specially crafted SVG (Scalable Vector Graphics) content during the image generation process.

Table Of Content

  • Key Takeaways
  • Understanding the Vulnerability
  • Remote Code Execution Potential
  • Affected Systems and Mitigation
  • What You Should Do

The issue impacts Next.js applications ranging from versions 16.2.0 up to, but not including, 16.3.6. Developers are urged to prioritize upgrading their installations to Next.js 16.3.6, which incorporates the necessary security fix.

Understanding the Vulnerability

The core of this vulnerability lies in the Node.js ImageResponse feature, a component commonly used for the dynamic creation of Open Graph images, social media previews, and other graphics generated server-side. The underlying image-rendering engine contains a security flaw that can be activated when an application incorporates attacker-controlled data into SVG elements, attributes, or styles.

Attackers can exploit this weakness when a vulnerable application accepts input from untrusted sources—such as URL parameters, form fields, or API requests—and subsequently embeds this untrusted value directly into an SVG image. For instance, an application might retrieve a parameter from an incoming request and then render it within an SVG <title> element while generating an image via ImageResponse.

Remote Code Execution Potential

In scenarios where a Next.js application is deployed with this vulnerable configuration, a malicious actor could submit specially crafted SVG-related input that ultimately reaches the susceptible rendering process. Successful exploitation of this vulnerability could lead to remote code execution on the server responsible for handling the image-generation request.

The GitHub advisory (GHSA-vcvr-r3jv-pc5j) assigns this vulnerability a Critical severity rating under CVSS v4. The attack vector is remote over the network, requires no authentication, and can be executed without any user interaction.

Despite the low prerequisites for an attack, the potential consequences are severe. Successful exploitation could compromise the confidentiality, integrity, and availability of both the vulnerable system and any connected systems. A compromised Next.js image-generation environment might expose sensitive server-side data, allow unauthorized modification of hosted content, disrupt services, or provide attackers with an initial foothold for broader network intrusions.

The actual impact would largely depend on the specific hosting environment of the Next.js application, its assigned permissions, and whether the image-generation process has access to sensitive data such as secrets, cloud credentials, internal services, or deployment infrastructure.

Affected Systems and Mitigation

It is important to note that not all Next.js deployments are vulnerable. According to the advisory, applications utilizing the Edge implementation of ImageResponse are not affected. Furthermore, applications that use the Node.js ImageResponse feature but consistently avoid placing attacker-controlled values into SVG content, attributes, or CSS styles are also not at risk.

The vulnerability was reported by security researchers RaghavMaheshwari124 and rafabd1. The advisory explicitly identifies the affected package as next, with version 16.3.6 designated as the patched release.

What You Should Do

  • Upgrade Immediately: Update all affected Next.js applications to version 16.3.6 or newer. This is the most effective and recommended mitigation.
  • Review Endpoints: Conduct an immediate review of all endpoints that generate images using next/og, paying particular attention to Open Graph image routes that accept query-string parameters or other user-controlled input.
  • Isolate Untrusted Input: Identify and eliminate any instances where untrusted values are rendered directly inside SVG markup, attributes, or CSS styles processed by the Node.js ImageResponse implementation.
  • Avoid Input Validation as Sole Fix: While input validation is a good practice, it should not be considered a complete or permanent solution for this vulnerability due to the complexities of SVG parsing and rendering, which can introduce unforeseen attack vectors.
  • Prioritize Patching: Given that internet-facing image-generation endpoints are often easily discoverable and probe-able by attackers, treat this vulnerability as a high-priority patching requirement.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackCVEExploitPatchSecurityThreatVulnerability

Share Article

Emy Elsamnoudy

Emy Elsamnoudy

Emy is a cybersecurity analyst and reporter specializing in threat hunting, defense strategies, and industry trends. With expertise in proactive security measures, Emily covers the tools and techniques organizations use to detect and prevent cyber attacks. She is a regular speaker at security conferences and has contributed to industry reports on threat intelligence and security operations. Emily's reporting focuses on helping organizations improve their security posture through practical, actionable insights.

Previous Post

New Malware Uses Evasive Domain Tactics to Hide Infrastructure

Next Post

Critical AWS Lambda Flaw Bypasses IAM, Exposes Cloud Services

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
Critical Next.js CVE-2024-XXXXX RCE Flaw Lets Attackers Use SVG Files
September 23, 2026
New Malware Uses Evasive Domain Tactics to Hide Infrastructure
September 23, 2026
Fake Crypto Wallet App Spreads PamStealer to Steal macOS Passwords
September 23, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
David kimber
David kimber
Jennifer sherman
Jennifer sherman
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Released to Detect MongoDB Vulnerability(CVE-2025-14847)

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us