Home / shardlab / discordrb / CVE-2023-28102
CVE-2023-28102: is it exploited, and which versions of shardlab discordrb are affected and fixed?
CVE-2023-28102 is an OS command injection vulnerability in shardlab discordrb. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: discordrb before 3.4.3 (GitHub advisory GHSA-8832-4mm5-x2r6). Fixed in 3.4.3 (GitHub advisory GHSA-8832-4mm5-x2r6). Severity: High (8.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:40 UTC.
What is CVE-2023-28102?
Command injection in discordrb
discordrb is an implementation of the Discord API using Ruby. In discordrb before commit `91e13043ffa` the `encoder.rb` file unsafely constructs a shell string using the file parameter, which can potentially leave clients of discordrb vulnerable to command injection. The library is not directly exploitable: the exploit requires that some client of the library calls the vulnerable method with user input. However, if unsafe input reaches the library method, then an attacker can execute arbitrary shell commands on the host machine. Full impact will depend on the permissions of the process running the `discordrb` library and will likely not be total system access. This issue has been addressed in code, but a new release of the `discordrb` gem has not been uploaded to rubygems. This issue is also tracked as `GHSL-2022-094`.
From the CVE record by GitHub_M, last updated February 19, 2025, 15:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| shardlab | discordrb | <= 3.4.1 |
As the CVE record by GitHub_M states it, last updated February 19, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | discordrb | < 3.4.3 | 3.4.3 | GHSA-8832-4mm5-x2r6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 14, 2024. Summary: discordrb OS Command Injection vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| discordrb project | discordrb | before 2023-03-08 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:46 UTC.
How severe is CVE-2023-28102?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H | GitHub_M |
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-28102 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, February 19, 2025)
- EPSS
- 2.57% probability of exploitation activity in the next 30 days, percentile 85.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://securitylab.github.com/advisories/GHSL-2022-094_discordrb/ x_refsource_CONFIRM
- https://github.com/shardlab/discordrb/commit/91e13043ffa89227c3fcdc3408f06da237d28c95 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 10, 2023
- Published
- March 27, 2023, 21:23 UTC
- CVE record updated
- February 19, 2025, 15:52 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:46 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:40 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2023-28102
Is CVE-2023-28102 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 2.57% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of shardlab discordrb are affected by CVE-2023-28102?
discordrb before 3.4.3, per the GitHub advisory GHSA-8832-4mm5-x2r6. The tables above give every range the sources list.
Which version fixes CVE-2023-28102?
3.4.3, per the GitHub advisory GHSA-8832-4mm5-x2r6. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-28102?
High (8.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-28102?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.