Skip to content

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

HighCVSS 7.1 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

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 ISSUE_TITLE 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 DISCORD_WEBHOOK. 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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
gouef githubtoplanguages = < 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
gouef githubtoplanguages = < 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027 No fix listed

References