Description
Espressif Shared GitHub DangerJS is a reusable GitHub Action CI DangerJS workflow for Espressif GitHub projects. Prior to 1.0.1, the action's entrypoint.sh invoked DangerJS from the caller's workspace after copying the fork's checkout into it, creating an untrusted search path for both binary resolution and Node.js module resolution. A fork pull request processed by a pull_request_target workflow could therefore cause fork-supplied code to execute inside the action container in place of the action's own code. This vulnerability is fixed in 1.0.1.
Published: 2026-05-28
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the entry point script of the Espressif Shared GitHub DangerJS action, which, before version 1.0.1, copied a fork’s checkout into the action’s workspace and invoked DangerJS from that location. This created an untrusted search path for both binary and Node.js module resolution, allowing code supplied by a pull request from a fork to be executed in place of the action’s intended code. The result is that an attacker can run arbitrary code inside the container that hosts the CI workflow, compromising the integrity and confidentiality of the build environment. Based on the CWE identifiers, the weakness involves improper validation of an execution path and potential exploitation of elevated privileges.

Affected Systems

Vulnerable instances are GitHub repositories that utilize the Espressif Shared GitHub DangerJS action with a version older than 1.0.1, particularly those where the workflow uses a pull_request_target trigger to process forks. Any project depending on this action, notably Espressif’s own GitHub projects, is impacted unless the action has been updated to the patched release.

Risk and Exploitability

The CVSS score of 8.2 indicates a high severity, and while EPSS data is not available, the nature of the flaw suggests a realistic exploitation scenario for projects that accept fork pull requests into pull_request_target workflows. The risk is heightened in environments where pull requests from external contributors are routinely processed. The lack of a KEV listing does not reduce the immediate need for remediation, as the flaw allows local execution of hostile code within the CI pipeline.

Generated by OpenCVE AI on May 28, 2026 at 16:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the action to version 1.0.1 or later and ensure all workflows reference this updated version.
  • Pin the action to the fixed commit or tag to prevent accidental use of older releases.
  • If an immediate upgrade is not feasible, block pull_request_target workflows from forks or enforce branch protection rules that require merging only from trusted branches before allowing the dangerous action to run.

Generated by OpenCVE AI on May 28, 2026 at 16:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 29 May 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Espressif
Espressif shared-github-dangerjs
Vendors & Products Espressif
Espressif shared-github-dangerjs

Thu, 28 May 2026 15:30:00 +0000

Type Values Removed Values Added
Description Espressif Shared GitHub DangerJS is a reusable GitHub Action CI DangerJS workflow for Espressif GitHub projects. Prior to 1.0.1, the action's entrypoint.sh invoked DangerJS from the caller's workspace after copying the fork's checkout into it, creating an untrusted search path for both binary resolution and Node.js module resolution. A fork pull request processed by a pull_request_target workflow could therefore cause fork-supplied code to execute inside the action container in place of the action's own code. This vulnerability is fixed in 1.0.1.
Title Espressif Shared GitHub DangerJS: Untrusted Search Path in DangerJS Action Entrypoint
Weaknesses CWE-427
CWE-829
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:N'}


Subscriptions

Espressif Shared-github-dangerjs
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-28T14:28:43.310Z

Reserved: 2026-05-05T20:15:20.630Z

Link: CVE-2026-44358

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-05-28T16:16:24.210

Modified: 2026-05-28T16:16:24.210

Link: CVE-2026-44358

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T15:48:26Z

Weaknesses