CVE-2026-58502: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in gouef githubtoplanguages
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.
AI Analysis
Technical Summary
githubtoplanguages generates SVGs of a user's top GitHub languages and uses a GitHub Actions workflow triggered by issue events. The workflow interpolates the issue title into a Bash variable assignment without neutralizing special shell characters, enabling OS command injection via shell command-substitution syntax in the issue title. This can execute arbitrary commands on the runner before sending a Discord notification. The vulnerability allows attackers to spoof notifications and potentially access sensitive environment variables depending on repository permissions. The flaw is fixed by commit 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary shell commands on the GitHub Actions runner, potentially leading to manipulation or spoofing of trusted Discord bot notifications. Additionally, sensitive environment data such as the Discord webhook secret may be exposed depending on repository permissions. This can undermine trust in automated notifications and leak confidential information.
Mitigation Recommendations
A fix is available and has been applied in commit 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027. Users should update to the fixed version incorporating this commit to remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
CVE-2026-58502: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in gouef githubtoplanguages
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.
CVSS v4.0
Score 7.1high
Affected software
gouef
githubtoplanguages
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
githubtoplanguages generates SVGs of a user's top GitHub languages and uses a GitHub Actions workflow triggered by issue events. The workflow interpolates the issue title into a Bash variable assignment without neutralizing special shell characters, enabling OS command injection via shell command-substitution syntax in the issue title. This can execute arbitrary commands on the runner before sending a Discord notification. The vulnerability allows attackers to spoof notifications and potentially access sensitive environment variables depending on repository permissions. The flaw is fixed by commit 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary shell commands on the GitHub Actions runner, potentially leading to manipulation or spoofing of trusted Discord bot notifications. Additionally, sensitive environment data such as the Discord webhook secret may be exposed depending on repository permissions. This can undermine trust in automated notifications and leak confidential information.
Mitigation Recommendations
A fix is available and has been applied in commit 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027. Users should update to the fixed version incorporating this commit to remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-30T20:21:25.813Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aa984eb55bf5e2cf52bbb3e
Added to database: 09/15/2026, 17:48:27 UTC
Last enriched: 09/15/2026, 18:02:04 UTC
Last updated: 09/16/2026, 02:17:51 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.