{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41645 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-41645 is a medium-severity code injection vulnerability in projectdiscovery nuclei, published on 8 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-41645 and fix it if it is affected.\n\nWhat it is: CVE-2026-41645 is a medium-severity code injection vulnerability in projectdiscovery nuclei, published on 8 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-41645 in the wild and no public exploit code.\n\nAffected product: projectdiscovery nuclei. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41645/ (Markdown: https://insights.sbomify.com/CVE-2026-41645/index.md)","id":"CVE-2026-41645","markdown":"https://insights.sbomify.com/CVE-2026-41645/index.md","name":"CVE-2026-41645","record":{"aliases":[],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Vulnerability scanner","requires_auth":"none","summary":"A malicious server can inject DSL expressions in Nuclei to disclose host environment variables if the non-default environment variable option is enabled.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nuclei","vendor":"projectdiscovery"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nuclei: Environment variable disclosure via Response-Derived DSL Expressions","id":"CVE-2026-41645","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"Nuclei: Local File Read via require() Module Loader Bypass","id":"CVE-2026-41646"},"packages":[],"prev":{"headline":"monetr is vulnerable to server-side request forgery in Lunch Flow link creation and refresh","id":"CVE-2026-41644"},"products":["nuclei"],"published":"2026-05-08","related":[{"cvss_score":7.5,"headline":"Nuclei Path Traversal vulnerability","id":"CVE-2023-37896","kev_date_added":null,"published":"2023-08-04"},{"cvss_score":7.4,"headline":"Nuclei Template Signature Verification Bypass","id":"CVE-2024-43405","kev_date_added":null,"published":"2024-09-04"},{"cvss_score":7.4,"headline":"Unsigned code template execution through workflows in projectdiscovery/nuclei","id":"CVE-2024-27920","kev_date_added":null,"published":"2024-03-15"},{"cvss_score":5.5,"headline":"Nuclei: Local File Read via require() Module Loader Bypass","id":"CVE-2026-41646","kev_date_added":null,"published":"2026-05-08"},{"cvss_score":4,"headline":"Code injection in Nuclei","id":"CVE-2026-41282","kev_date_added":null,"published":"2026-04-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-11","vendors":["projectdiscovery"]},"summary":"A malicious server can inject DSL expressions in Nuclei to disclose host environment variables if the non-default environment variable option is enabled.","url":"https://insights.sbomify.com/CVE-2026-41645/"}