Lightning Flow Scanner CVE-2025-67750
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlant malicious rule config/flow file
-
DeliveryVictim scans untrusted repository
-
ExploitAPIVersion rule calls new Function()
-
ExecutionInjected JavaScript executes on host
-
ImpactCompromise dev machine or CI runner
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that Lightning Flow Scanner (CLI, VS Code extension, or GitHub Action, versions ≤6.10.5) actually scan attacker-influenced input in which the APIVersion rule is active. The concrete sink is the APIVersion rule's |
| Impact | This is a genuine code-execution flaw (CWE-94) confirmed by the vendor GHSA advisory and the patch commit, which removes the unsafe |
| Exploit ScenarioDerived | An attacker submits a pull request (or publishes a repository) containing a malicious Lightning Flow Scanner rule configuration that sets a crafted |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Lightning Flow Scanner 6.10.5 and earlier contains a code injection flaw (CWE-94) in the APIVersion rule, which uses new Function() to evaluate expression strings, allowing arbitrary JavaScript execution when scanning crafted flow metadata or malicious rule configuration. The CVSS 3.1 score is 8.4 (AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting that an unauthenticated local attacker who can influence scanned input can compromise developer machines, CI runners, or editor environments. No public exploit code has been identified at time of analysis, and the vendor has released patched versions: core-v6.10.6, VS Code extension v2.4.4, and GitHub Action v3.1.0.
RemediationAI
Upgrade the core package to version 6.10.6, the VS Code Extension to v2.4.4, and the GitHub Action to v3.1.0. Vendor advisory GHSA-55jh-84jv-8mx8 and commit 10f64a5eb193d8a777e453b25e910144e4540795 provide the patch. If immediate upgrade is not possible, avoid scanning untrusted flow metadata or rule configurations with the APIVersion rule enabled; the advisory provides a workaround that removes the APIVersion rule from the standard scan configuration and manually evaluates it using a safe numeric comparison. Disabling the APIVersion rule prevents the code path entirely but may reduce the scanner's API version compliance checks. Additionally, run scans of untrusted code in an isolated environment (e.g., a container with no sensitive credentials) to limit the impact of any code execution.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a code injection (CWE-94) in Lightning Flow Scanner's core package, specifically in the APIVersion rule (packages/core/src/main/rules/APIVersion.ts). The rule constructs a JavaScript function via new Function('return ' + flowAPIVersionNumber + options.expression + ';'), concatenating the flow's API version number with an attacker-influenced expression string from rule configuration. Because expression is not sanitized, an attacker can supply a malicious string (e.g., in a crafted flow metadata file or a poisoned rule config) that breaks out of the intended numeric comparison and executes arbitrary JavaScript. The scanner is used in three contexts: a CLI plugin, a VS Code Extension, and a GitHub Action, so exploitation affects developer endpoints, CI runners, and editor environments. The patch (commit 10f64a5) removes new Function() and replaces it with a regex-based parser that only allows operators (>, >=, <, <=, , =, !==) and numeric comparisons, preventing arbitrary code evaluation. The CVSS vector indicates local attack vector (AV:L), no privileges required (PR:N), no user interaction (UI:N), and high confidentiality, integrity, and availability impact.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:L because a malicious file must be processed locally by the scanner; PR:N/UI:N as a CI runner can auto-scan untrusted input; arbitrary JS yields full C/I/A:H.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
Lightning Flow Scanner provides a A CLI plugin, VS Code Extension and GitHub Action for analysis and optimization of Salesforce Flows. Versions 6.10.5 and below allow a maliciously crafted flow metadata file to cause arbitrary JavaScript execution during scanning. The APIVersion rule uses new Function() to evaluate expression strings, enabling an attacker to supply a malicious expression within rule configuration or crafted flow metadata. This could compromise developer machines, CI runners, or editor environments. This issue is fixed in version 6.10.6.
Executive ViewAI
Lightning Flow Scanner 6.10.5 and earlier - a static-analysis tool used to lint Salesforce Flow metadata - can be induced to execute arbitrary JavaScript on developer workstations and CI runners when it scans crafted flow metadata or a malicious rule configuration, and the CVSS vector indicates no authentication is required. This places engineering environments, build pipelines, and the source code, tokens, and deployment credentials they can reach at risk of full compromise. No public exploit code has been identified at time of analysis, but patch status is inconsistent between the vulnerability feed and the fix versions referenced in the technical description, so leadership should treat remediation as urgent and require verification against the vendor advisory before assuming coverage.
Apply vendor patch: upgrade to core v6.10.6, VS Code extension v2.4.4, and GitHub Action v3.1.0. If those versions cannot be deployed immediately, restrict scanning to trusted, internally controlled flow metadata and rule configurations, run scans in disposable least-privilege containers or ephemeral runners with restricted network egress, and avoid loading unreviewed custom rule definitions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
NVD
CVE.org
EPSS
GitHub
Exploit-DB