Description
A weakness has been identified in bahmutov find-cypress-specs up to 1.54.12. The impacted element is the function shell.exec of the file src/index.js of the component Branch Handler. This manipulation of the argument --branch causes os command injection. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Published: 2026-07-23
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The find‑cypress‑specs tool contains a weakness in the shell.exec function in src/index.js that allows the --branch parameter to be manipulated. This leads to an operating‑system command injection that can execute arbitrary commands on the host where the tool is run. The vulnerability maps to vulnerabilities CWE‑77 and CWE‑78 and results in local command execution, potentially giving an attacker control over the executing process.

Affected Systems

The vulnerable code is present in the bahmutov find‑cypress‑specs package, specifically in all releases up to and including version 1.54.12. The component is distributed as a Node.js library used for discovering Cypress test files.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate severity, and the EPSS score of less than 1 % shows a very low likelihood of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. Exploitation is limited to local execution; an attacker must have the ability to run the find‑cypress‑specs process or supply a crafted --branch argument. The exploit code is publicly available, but no vendor‑issued patch has yet been released.

Generated by OpenCVE AI on August 3, 2026 at 21:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a version of find‑cypress‑specs that removes the usage of shell.exec for the --branch option; check the project repository for a fixed release.
  • If an upgrade is not yet available, run the tool in an isolated environment with the least privilege possible, such as a dedicated container or virtual machine, to contain any potential command execution.
  • Manually validate or sanitize the --branch argument before invoking shell.exec; reject or escape any characters that could form shell commands.

Generated by OpenCVE AI on August 3, 2026 at 21:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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

Type Values Removed Values Added
Description A weakness has been identified in bahmutov find-cypress-specs up to 1.54.12. The impacted element is the function shell.exec of the file src/index.js of the component Branch Handler. This manipulation of the argument --branch causes os command injection. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Title bahmutov find-cypress-specs Branch index.js shell.exec os command injection
First Time appeared Bahmutov
Bahmutov find-cypress-specs
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:a:bahmutov:find-cypress-specs:*:*:*:*:*:*:*:*
Vendors & Products Bahmutov
Bahmutov find-cypress-specs
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'}


Subscriptions

Bahmutov Find-cypress-specs
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-23T15:38:22.184Z

Reserved: 2026-07-23T07:36:57.392Z

Link: CVE-2026-16733

cve-icon Vulnrichment

Updated: 2026-07-23T15:38:11.064Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T14:17:08.660

Modified: 2026-07-23T16:17:16.200

Link: CVE-2026-16733

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-23T13:30:09Z

Links: CVE-2026-16733 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T21:30:05Z

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