Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-41645: CWE-94: Improper Control of Generation of Code ('Code Injection') in projectdiscovery nuclei

0
Medium
VulnerabilityCVE-2026-41645cvecve-2026-41645cwe-94
Published: Fri May 08 2026 (05/08/2026, 03:17:19 UTC)
Source: CVE Database V5
Vendor/Project: projectdiscovery
Product: nuclei

Description

Nuclei is a vulnerability scanner built on a simple YAML-based DSL. From version 3.0.0 to before version 3.8.0, a vulnerability in Nuclei's expression evaluation engine makes it possible for a malicious target server to inject and execute supported DSL expressions. This happens when HTTP response data containing helper/function syntax gets reused by multi-step templates. If the -env-vars / -ev option is explicitly enabled, this can expose host environment variables. That option is off by default, so standard configurations are not affected by the information disclosure risk. This issue has been patched in version 3.8.0.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/08/2026, 04:07:53 UTC

Technical Analysis

Nuclei is a vulnerability scanner using a YAML-based DSL. Between versions 3.0.0 and before 3.8.0, its expression evaluation engine improperly controls code generation, allowing a malicious server to inject and execute DSL expressions when HTTP response data containing helper/function syntax is reused in multi-step templates. If the -env-vars / -ev option is enabled, this can disclose host environment variables. The vulnerability is identified as CWE-94 and has a CVSS 3.1 base score of 5.3 (medium severity). The issue was patched in version 3.8.0.

Potential Impact

The vulnerability allows a malicious target server to inject and execute code expressions within Nuclei's DSL evaluation engine. This can lead to information disclosure of host environment variables if the -env-vars / -ev option is enabled. Standard configurations with this option disabled are not affected by the information disclosure risk. There is no indication of integrity or availability impact. No known exploits are reported in the wild.

Mitigation Recommendations

Upgrade Nuclei to version 3.8.0 or later, where this vulnerability is patched. If upgrading immediately is not possible, ensure that the -env-vars / -ev option remains disabled (which is the default) to avoid exposure of host environment variables. Monitor vendor advisories for any additional guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-21T23:58:43.802Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69fd5dbdcbff5d86108b643f

Added to database: 5/8/2026, 3:51:25 AM

Last enriched: 5/8/2026, 4:07:53 AM

Last updated: 5/9/2026, 4:51:14 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses