Vulnerabilities

Vulnerability · CVE-2026-58502

githubtoplanguages: Command Injection via Issue Title in Discord Notification Workflow

Published Jun 19, 2026 · catalog updated Sep 17, 2026 · githubtoplanguages: Command Injection via

Check if you run it

No confirmed exploitation is on record for CVE-2026-58502. EPSS is 0.53%. Act only if a listed version of githubtoplanguages: Command Injection via is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (githubtoplanguages: Command Injection via).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High—
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.53%
Remediation
Advisory link
Affected products
GitHub Actions gouef/githubtoplanguages

### Summary A GitHub Actions workflow is vulnerable to command injection through the issue title. The workflow is triggered when an issue is opened or closed, and it directly inserts into a Bash variable assignment. If an issue title contains command substitution syntax, Bash evaluates it during the workflow run. ### Details The vulnerable workflow is: The issue title is directly interpolated into a Bash script: Because GitHub Actions expressions are expanded before Bash executes the script, an attacker-controlled issue title containing command substitution syntax can be evaluated by the shell. In the original workflow, the resulting value is then included in a Discord notification payload: ### PoC For safety, I reproduced this only in my fork. I did not trigger the original repository’s Discord webhook. I kept the vulnerable Bash assignment unchanged and replaced the Discord webhook request with statements to observe the result safely. Test issue title: Observed workflow log: This confirms that was executed on the GitHub Actions runner before the value would be sent to Discord. ### Impact Any user who can open an issue may be able to execute shell commands on the GitHub Actions runner. In practice, this means an attacker could create an issue with a crafted title, cause the workflow to execute a shell command, and have the command output included in the Discord notification content. This can be used to manipulate Discord notifications, spoof trusted GitHub bot messages, or repeatedly trigger unwanted notifications. More importantly, the command runs in a workflow environment where a Discord webhook secret is configured. Depending on repository settings and workflow permissions, this may put workflow secrets or other environment data at risk. ### Suggested Fix Do not insert issue titles directly into Bash scripts. Pass the title through an environment variable instead: Also avoid , unquoted variable expansion, or shell execution patterns involving user-controlled is

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • GitHub Actions gouef/githubtoplanguages0 → 1.1.4

How to fix CVE-2026-58502

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-58502. EPSS is 0.53%. Act only if a listed version of githubtoplanguages: Command Injection via is installed.

Which versions are affected?

Compare what you have installed with 0 → 1.1.4. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-78: OS Command Injection. EPSS 0.53%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Jun 19, 2026 · GitHub Advisory Database

    Detected

    ### Summary A GitHub Actions workflow is vulnerable to command injection through the issue title. The workflow is triggered when an issue is opened or closed, and it directly inserts into a Bash variable assignment. If an issue title contains command substitution syntax, Bash evaluates it during the workflow run. ### Details The vulnerable workflow is: The issue title is directly interpolated into

  2. Sep 17, 2026 · GitHub Advisory Database

    Fix available

    gouef/githubtoplanguages fixed in 1.1.4

  3. Sep 17, 2026 · GitHub Advisory Database

    Fix available

    gouef/githubtoplanguages fixed in 1.1.4

  4. Sep 17, 2026 · GitHub Advisory Database

    Updated

    ### Summary A GitHub Actions workflow is vulnerable to command injection through the issue title. The workflow is triggered when an issue is opened or closed, and it directly inserts into a Bash variable assignment. If an issue title contains command substitution syntax, Bash evaluates it during the workflow run. ### Details The vulnerable workflow is: The issue title is directly interpolated into

Sources

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.