CVE-2026-16489

jsforce SFDX Connection Registry sfdx.js _execCommand os command injection

Published Jul 21, 2026 CVSS 4.0 · 4.8 Medium EPSS 1.1% KEV · Not listed
Description
A vulnerability was identified in jsforce up to 3.10.16. This issue affects the function _execCommand in the library lib/registry/sfdx.js of the component SFDX Connection Registry. The manipulation leads to os command injection. The attack can only be performed from a local environment. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

The vulnerability resides in the _execCommand function of jsforce's SFDX Connection Registry and permits an attacker to inject arbitrary operating‑system shell commands. When an attacker manipulates the input to this function, the injected command is executed with the privileges of the running process, potentially allowing full local system compromise. The weakness is characterized by CWE‑77 and CWE‑78, and the CVSS score of 4.8 indicates a moderate severity. TheISA KEV catalog; the EPSS score is less than 1 %, suggesting a low probability of exploitation in the wild.

Affected Systems

All installations of the jsforce JavaScript library up to and including version 3.10.16 are affected. The vulnerable code resides the SFDX Connection Registry component. Users who rely on this library for Salesforce integration or SFDX CLI interactions are at risk. No specific vendor patches are listed, and the project has yet to provide an official fix.

Risk and Exploitability

Although the attack vector is limited to a local environment, the ability to execute arbitrary commands elevates the risk to potential system compromise or data exfiltration if the library runs with elevated privileges. The moderate CVSS score, combined with the very low EPSS score and absence from the KEV catalog, suggest that while the flaw is serious, it is unlikely to see widespread exploitation yet. Nonetheless, the presence of a publicly available exploit means that any system running a vulnerable jsforce version in a local context should consider immediate remediation or mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade jsforce to a version released after 3.10.16 when the fix becomes available.
  • If an upgrade is not possible, remove or feature from the codebase and restrict any paths that feed into _execCommand.
  • Deploy input validation or sanitization around calls to _execCommand, ensuring that only trusted, predefined commands are executed.

Generated by OpenCVE AI on August 4, 2026 at 00:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was identified in jsforce up to 3.10.16. This issue affects the function _execCommand in the library lib/registry/sfdx.js of the component SFDX Connection Registry. The manipulation leads to os command injection. The attack can only be performed from a local environment. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.
Title jsforce SFDX Connection Registry sfdx.js _execCommand os command injection
First Time appeared Jsforce
Jsforce jsforce
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:a:jsforce:jsforce:*:*:*:*:*:*:*:*
Vendors & Products Jsforce
Jsforce jsforce
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 23, 2026, 1:54 PM
Reserved
Jul 21, 2026, 3:53 PM
Status
Deferred
Published
Jul 22, 2026, 12:17 AM
Modified
Jul 23, 2026, 2:17 PM