githubtoplanguages: Command Injection via Issue Title in Discord Notification Workflow
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gouef | githubtoplanguages | before 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027 | 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027 | Patch available | CNA |
- githubtoplanguages Vendorgouef Affected before 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027 Fixed in 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027 Patch available CNA
Remediation
- Fix · CNA githubtoplanguages (gouef) Fixed in 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58502
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences