Skip to content

Command injection via discussion-to-slack GitHub Action

Critical
sanketsahu published GHSA-432r-9455-7f9x Jun 30, 2025

Package

actions gluestack/gluestack-ui (GitHub Actions)

Affected versions

*

Patched versions

None

Description

Impact

A command injection vulnerability was discovered in the discussion-to-slack.yml GitHub Actions workflow. Untrusted discussion fields (title, body, etc.) were directly interpolated into shell commands in a run: block. An attacker could craft a malicious GitHub Discussion title or body (e.g., $(curl ...)) to execute arbitrary shell commands on the Actions runner.

This could result in:

  • Exfiltration of the repository’s GITHUB_TOKEN (with write access),
  • Unauthorized changes to repository contents, releases, and workflows,
  • Exposure of other repository secrets (e.g., Slack, npm tokens).

Patches

The vulnerable workflow (discussion-to-slack.yml) was deleted. A secure replacement will be added with sanitized handling of untrusted inputs and reduced token permissions.

Workarounds

Users should remove the discussion-to-slack.yml workflow if using a fork or derivative of this repository. If you adapted this pattern elsewhere, ensure that user input is never interpolated directly into shell scripts — use environment variables or safe output blocks instead.

References

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVE ID

CVE-2025-53104

Weaknesses

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. Learn more on MITRE.

Credits