CVE-2026-41282: CWE-94 Improper Control of Generation of Code ('Code Injection') in ProjectDiscovery Nuclei
ProjectDiscovery Nuclei 3 before 3.8.0 allows DSL expression injection. This affects use of -env-vars for multi-step templates against untrusted targets (not the default configuration).
AI Analysis
Technical Summary
CVE-2026-41282 is a code injection vulnerability in ProjectDiscovery Nuclei versions prior to 3.8.0. It arises from improper control over the generation of code via DSL expression injection when using the -env-vars option in multi-step templates against untrusted targets. This vulnerability requires specific non-default configurations to be exploitable and has a CVSS v3.1 base score of 4.0, reflecting medium severity. No official fix or patch is currently documented, and the product is not a cloud service, so remediation depends on vendor updates.
Potential Impact
The vulnerability allows injection of DSL expressions, potentially leading to unintended code execution within the Nuclei scanning environment. The impact is limited to confidentiality loss (partial) without integrity or availability impacts, as indicated by the CVSS vector. Exploitation requires network access with high attack complexity and no privileges or user interaction, but the vulnerability is conditional on non-default usage of -env-vars with untrusted input. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid using the -env-vars option in multi-step templates against untrusted targets. Restrict usage to trusted inputs only to mitigate the risk of DSL expression injection. Monitor ProjectDiscovery communications for updates regarding patches or official mitigations.
CVE-2026-41282: CWE-94 Improper Control of Generation of Code ('Code Injection') in ProjectDiscovery Nuclei
Description
ProjectDiscovery Nuclei 3 before 3.8.0 allows DSL expression injection. This affects use of -env-vars for multi-step templates against untrusted targets (not the default configuration).
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-41282 is a code injection vulnerability in ProjectDiscovery Nuclei versions prior to 3.8.0. It arises from improper control over the generation of code via DSL expression injection when using the -env-vars option in multi-step templates against untrusted targets. This vulnerability requires specific non-default configurations to be exploitable and has a CVSS v3.1 base score of 4.0, reflecting medium severity. No official fix or patch is currently documented, and the product is not a cloud service, so remediation depends on vendor updates.
Potential Impact
The vulnerability allows injection of DSL expressions, potentially leading to unintended code execution within the Nuclei scanning environment. The impact is limited to confidentiality loss (partial) without integrity or availability impacts, as indicated by the CVSS vector. Exploitation requires network access with high attack complexity and no privileges or user interaction, but the vulnerability is conditional on non-default usage of -env-vars with untrusted input. No known active exploitation has been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid using the -env-vars option in multi-step templates against untrusted targets. Restrict usage to trusted inputs only to mitigate the risk of DSL expression injection. Monitor ProjectDiscovery communications for updates regarding patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-04-20T07:10:29.549Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e5d9d119fe3cd2cda9cb32
Added to database: 4/20/2026, 7:46:25 AM
Last enriched: 4/20/2026, 8:01:53 AM
Last updated: 4/21/2026, 7:07:59 AM
Views: 9
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.
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.