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.
Published: 2026-07-21
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 23 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 22 Jul 2026 00:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-23T13:54:26.365Z

Reserved: 2026-07-21T15:53:55.187Z

Link: CVE-2026-16489

cve-icon Vulnrichment

Updated: 2026-07-23T13:54:22.216Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:30:18Z

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')