gouef githubtoplanguages command injection in Discord notification workflow

Severity: high · CVSS 7.1 · Published 2026-06-19

A vulnerability in the githubtoplanguages GitHub Action allows an attacker to execute malicious commands by creating an issue with a specially crafted title. This component is used to automate Discord notifications for repository activity. An exploit could allow an attacker to steal sensitive credentials like Discord webhooks, manipulate automated messages, or gain unauthorized access to the GitHub Actions runner environment.

Vendors: GitHub Actions.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
High severity, with a CVSS score of 7.1, published 19 June 2026.
Which products and versions are affected?
gouef/githubtoplanguages (GitHub Actions) < 1.1.4; Gouef Githubtoplanguages < 1.1.4.
Is there a fix for This vulnerability?
A patch was published on 2026-06-19: Fixed in version 1.1.4 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is This vulnerability attacked?
It is attacked over the network, in a software library.
Am I affected?
Check whether you run gouef/githubtoplanguages (GitHub Actions) or Gouef Githubtoplanguages at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability exists in the `.github/workflows/discord-issue.yml` workflow where `github.event.issue.title` or `github.event.pull_request.title` is directly interpolated into a Bash script assignment. Because GitHub Actions expressions are expanded before the shell executes the script, an attacker can use command substitution syntax (e.g., $(whoami)) in an issue title to achieve arbitrary code execution on the runner. This can be used to exfiltrate secrets like the `DISCORD_WEBHOOK` or other environment variables. The issue is fixed in version 1.1.4 by passing user-controlled data through environment variables instead of direct interpolation.

Affected products

  • gouef githubtoplanguages < 1.1.4

Timeline

  • 2026-06-19: disclosed
  • 2026-06-19: patched: Fixed in version 1.1.4
  • 2026-06-19: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.