CVE-2026-55378: JS Recon: Command injection in PR Branch Checker workflow via untrusted pull request context values
JS Recon is a JavaScript enumeration and SAST tool. From 1.2.1-beta.1 until 1.3.1-beta.2, the PR Branch Checker workflow in .github/workflows/pr_checker.yml places github.head_ref and github.event.pull_request.head.repo.full_name into BRANCH_NAME and SOURCE_REPO and interpolates those untrusted values into a shell gh pr comment command. A remote user who opens a pull request can use shell metacharacters in a branch or fork name to execute commands in the GitHub Actions runner with the workflow's GITHUB_TOKEN, which has pull-requests write permission. This issue is fixed in version 1.3.1-beta.2.
Security readout for executives and security teams
Plain-English summary
A malicious contributor can craft a pull request whose branch or fork name causes JS Recon’s GitHub Actions workflow to run unintended commands. Those commands execute on the CI runner with a token able to modify pull requests, potentially compromising workflow data and repository interactions.
Executive priority
Prioritize immediate remediation for public or externally contributed repositories. The attack requires only opening a pull request and can execute commands in CI with a write-capable token. Upgrade promptly, then review workflow and audit logs for suspicious activity.
Technical view
Versions 1.2.1-beta.1 through versions before 1.3.1-beta.2 interpolate untrusted pull-request values into a shell-based gh command in .github/workflows/pr_checker.yml. Shell metacharacters can produce command injection on the Actions runner. CVE records classify this as CWE-78 with CVSS 4.0 score 9.3. Version 1.3.1-beta.2 fixes it.
Likely exposure
Exposure is limited to repositories running the affected PR Branch Checker workflow from JS Recon versions at or above 1.2.1-beta.1 and below 1.3.1-beta.2. Public repositories accepting pull requests from forks face the clearest remote attack surface.
Exploitation context
An attacker needs the vulnerable workflow to process a pull request containing malicious branch or fork-name context. No repository privileges or user interaction are required according to the supplied CVSS vector. The bundle reports no KEV listing and provides no evidence of active exploitation.
Researcher notes
The vulnerable data flow is github.head_ref and github.event.pull_request.head.repo.full_name into BRANCH_NAME and SOURCE_REPO, followed by shell interpolation in gh pr comment. Reported impact is high confidentiality and integrity loss on the vulnerable system, without claimed availability or downstream-system impact. Public evidence supplied does not establish exploitation in the wild.
Mitigation direction
Upgrade JS Recon and its workflow to version 1.3.1-beta.2 or later.
Confirm .github/workflows/pr_checker.yml includes the upstream command-injection fix.
Temporarily disable the affected workflow if an immediate upgrade is impossible.
Review workflow token permissions and retain only permissions required for pull-request checking.
Validation and detection
Identify deployed JS Recon versions and flag releases before 1.3.1-beta.2 within the affected range.
Compare pr_checker.yml against upstream pull request 121 or commit 447876c.
Review Actions logs for unusual commands or behavior triggered by external pull requests.
Check repository audit records for unexpected pull-request changes associated with workflow tokens.
Confirm the updated workflow handles untrusted branch and repository names without shell interpolation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-78 · source CWE mapping
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.