LiveActive security incident?Get immediate response
CVE Record

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.

CriticalCVSS 9.3Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

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.
Prepared
Confidence
high
Sources
6

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.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

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.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-55378 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.3 (4.0)
Known Exploited
No
Published

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

ScoreVersionSeverityVectorExploitImpactSource
9.3CVSS 4.0CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N——GitHub_M

Vulnerability scoring details

Base CVSS 4.0 score

9.3Critical
CVSS 4.0 vector shape for CVE-2026-55378Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
shriyanssjs-recon>= 1.2.1-beta.1, < 1.3.1-beta.2Listed
Weakness

CWE details

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.