{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41282 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-41282 is a medium-severity code injection vulnerability in ProjectDiscovery Nuclei, published on 20 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41282 and fix it if it is affected.\n\nWhat it is: CVE-2026-41282 is a medium-severity code injection vulnerability in ProjectDiscovery Nuclei, published on 20 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41282 exists.\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-41282/ (Markdown: https://insights.sbomify.com/CVE-2026-41282/index.md)","id":"CVE-2026-41282","markdown":"https://insights.sbomify.com/CVE-2026-41282/index.md","name":"CVE-2026-41282","record":{"aliases":["GHSA-vrr8-h7fq-ghr8"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Nuclei vulnerability scanner","requires_auth":"none","summary":"Attackers can execute arbitrary code via DSL injection in ProjectDiscovery Nuclei when using non-default environment variable features against untrusted targets.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"nuclei","vendor":"projectdiscovery"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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).","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Code injection in Nuclei","id":"CVE-2026-41282","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":5,"next":{"headline":"OpenStack Mistral allows Arbitrary Remote Code Execution when the API is exposed","id":"CVE-2026-41283"},"packages":[],"prev":{"headline":"Information disclosure in あんしんフィルター for au","id":"CVE-2026-41281"},"products":["Nuclei"],"published":"2026-04-20","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":5.3,"headline":"Nuclei: Environment variable disclosure via Response-Derived DSL Expressions","id":"CVE-2026-41645","kev_date_added":null,"published":"2026-05-08"}],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-21","vendors":["ProjectDiscovery"]},"summary":"Attackers can execute arbitrary code via DSL injection in ProjectDiscovery Nuclei when using non-default environment variable features against untrusted targets.","url":"https://insights.sbomify.com/CVE-2026-41282/"}