CVE-2026-58502: githubtoplanguages: Command Injection via Issue Title in Discord Notification Workflow

Published Sep 15, 2026
·
Updated

githubtoplanguages generates a user's top GitHub languages as an SVG. The .github/workflows/discord-issue.yml workflow runs when an issue is opened or closed and interpolates github.event.issue.title directly into the Bash assignment for ISSUETITLE before shell parsing. An issue title containing shell command-substitution syntax can therefore execute commands on the GitHub Actions runner before the title is included in the Discord notification sent through DISCORDWEBHOOK. Successful exploitation can manipulate or spoof trusted bot notifications and may expose the Discord webhook secret or other workflow environment data, depending on repository permissions. This issue is fixed by commit 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027.

Affected Software

1 affected component
githubtoplanguages>undefined

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade .github/workflows/discord-issue.yml (GitHub Actions) to a version that resolves this vulnerability.

    Patch 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027

Event History

Sep 15, 2026
CVE Published
via MITRE·05:37 PM
Data Sourced
via MITRE·05:37 PM
DescriptionWeakness

Frequently Asked Questions

1

Who can realistically exploit this workflow?

Anyone able to open or close an issue with an attacker-controlled title can trigger the vulnerable workflow. Exploitation depends on the repository accepting issue events from that actor.

2

What is required for command execution?

The attacker must supply an issue title containing shell command-substitution syntax. The workflow interpolates that title into a Bash assignment before shell parsing, causing the runner to execute the substituted commands.

3

What could an attacker access or change after exploitation?

An attacker can manipulate or spoof the Discord notification generated by the workflow. Depending on repository permissions, commands may also expose the Discord webhook secret or other workflow environment data.

4

How can this be remediated?

Apply the fix in commit 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027. If updating is not immediately possible, prevent untrusted users from triggering issue open or close events that invoke the Discord notification workflow.

5

How can I tell whether my repository is affected?

Review .github/workflows/discord-issue.yml for a Bash assignment that directly interpolates github.event.issue.title before shell parsing. Repositories using the vulnerable workflow revision prior to the referenced fix commit are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203