---
id: CVE-2026-58502
title: githubtoplanguages generates a user's top GitHub languages as an SVG
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…
severity: high
cvss: 7.1
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'
cwe:
  - CWE-78
vendor: gouef
product: githubtoplanguages
affected:
  - githubtoplanguages < 6bf9c3a9cb66c937b9047ca266b3d02f2bb11027
published: '2026-09-15'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T17:16:44.497'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-58502'
references:
  - url: >-
      https://github.com/gouef/githubtoplanguages/commit/6bf9c3a9cb66c937b9047ca266b3d02f2bb11027
    label: security-advisories@github.com
  - url: >-
      https://github.com/gouef/githubtoplanguages/security/advisories/GHSA-c3xh-98xp-6qhf
    label: security-advisories@github.com
  - url: >-
      https://github.com/gouef/githubtoplanguages/security/advisories/GHSA-c3xh-98xp-6qhf
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-17T16:37:09.578601Z'
cvssSource: cna
epss: 0.00531
epssPercentile: 0.42418
ingestedAt: '2026-09-15T18:41:59.143Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
