Lightning Flow Scanner is Vulnerable to Code Injection via Unsafe Use of new Function() in APIVersion Rule
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Flow-Scanner | lightning-flow-scanner | before 6.10.6 | 6.10.6 | Patch available | CNA |
| — | lightning-flow-scanner (npm) | before 6.10.6 | 6.10.6 | Patch available | GHSA-55jh-84jv-8mx8 |
- lightning-flow-scanner VendorFlow-Scanner Affected before 6.10.6 Fixed in 6.10.6 Patch available CNA
- lightning-flow-scanner (npm) Vendor— Affected before 6.10.6 Fixed in 6.10.6 Patch available GHSA-55jh-84jv-8mx8
Remediation
- Fix · CNA lightning-flow-scanner (Flow-Scanner) Fixed in 6.10.6
- Fix · GHSA-55jh-84jv-8mx8 lightning-flow-scanner (npm) Fixed in 6.10.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-67750
- 2026-10-03 Alias added: GHSA-55jh-84jv-8mx8
References
Other 4
- https://github.com/Flow-Scanner/lightning-flow-scanner/security/advisories/GHSA-55jh-84jv-8mx8
- https://github.com/Flow-Scanner/lightning-flow-scanner/commit/10f64a5eb193d8a777e453b25e910144e4540795
- https://github.com/Flow-Scanner/lightning-flow-scanner/releases/tag/core-v6.10.6
- https://github.com/Flow-Scanner/lightning-flow-scanner
Sources
- CVE-2025-67750 · CVE Program
- CVE-2025-67750 · NVD
- FIRST EPSS
- GHSA-55jh-84jv-8mx8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences