Arbitrary Code Injection Affecting github.com/projectdiscovery/nuclei/v3/pkg/protocols/common/expressions package, versions >=3.0.0 <3.8.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMPROJECTDISCOVERYNUCLEIV3PKGPROTOCOLSCOMMONEXPRESSIONS-16304795
  • published27 Apr 2026
  • disclosed20 Apr 2026
  • creditgnuletik

Introduced: 20 Apr 2026

CVE-2026-41282  (opens in a new tab)
CVE-2026-41645  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/projectdiscovery/nuclei/v3/pkg/protocols/common/expressions to version 3.8.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the -env-vars process when multi-step templates are used against untrusted targets. An attacker can execute arbitrary code by injecting malicious DSL expressions. This is only exploitable if multi-step templates are used with the -env-vars option against untrusted targets.

CVSS Base Scores

version 4.0
version 3.1