CVEBrief

Home / rubygems / rubygems.org / CVE-2022-29176

CVE-2022-29176: is it exploited, and which versions of rubygems.org are affected and fixed?

CVE-2022-29176 is a missing authorization vulnerability in rubygems.org. 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, 12:08 UTC). Affected: rubygems.org n/a (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.9, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:48 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:08 UTC
Affected
rubygems.org n/a
CVE record by GitHub_M
Fixed in
Not listed
check the vendor advisory
Severity
Critical 9.9
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
1.94% in 30 days
higher than 81% of CVEs; FIRST, December 2, 2026

What is CVE-2022-29176?

Unauthorized gem takeover for some gems on rubygems.org

Rubygems is a package registry used to supply software for the Ruby language ecosystem. Due to a bug in the yank action, it was possible for any RubyGems.org user to remove and replace certain gems even if that user was not authorized to do so. To be vulnerable, a gem needed: one or more dashes in its name creation within 30 days OR no updates for over 100 days At present, we believe this vulnerability has not been exploited. RubyGems.org sends an email to all gem owners when a gem version is published or yanked. We have not received any support emails from gem owners indicating that their gem has been yanked without authorization. An audit of gem changes for the last 18 months did not find any examples of this vulnerability being used in a malicious way. A deeper audit for any possible use of this exploit is ongoing, and we will update this advisory once it is complete. Using Bundler in --frozen or --deployment mode in CI and during deploys, as the Bundler team has always recommended, will guarantee that your application does not silently switch to versions created using this exploit. To audit your application history for possible past exploits, review your Gemfile.lock and look for gems whose platform changed when the version number did not change. For example, gemname-3.1.2 updating to gemname-3.1.2-java could indicate a possible abuse of this vulnerability. RubyGems.org has been patched and is no longer vulnerable to this issue as of the 5th of May 2022.

From the CVE record by GitHub_M, last updated April 23, 2025, 18:31 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
rubygemsrubygems.orgn/a

As the CVE record by GitHub_M states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
rubygemsrubygems.orgall versionsapplication

NVD analysis (status Modified), last modified June 17, 2026, 04:39 UTC.

How severe is CVE-2022-29176?

ScoreVersionVectorSource
Critical 9.9CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HGitHub_M
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD
Medium 6.0CVSS 2.0AV:N/AC:M/Au:S/C:P/I:P/A:PNVD

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-2022-29176 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 23, 2025)
EPSS
1.94% probability of exploitation activity in the next 30 days, percentile 80.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 13, 2022
Published
May 5, 2022, 22:05 UTC
CVE record updated
April 23, 2025, 18:31 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:39 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:48 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect rubygems.org?

Every CVE in rubygems.org

Questions about CVE-2022-29176

Is CVE-2022-29176 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 1.94% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of rubygems.org are affected by CVE-2022-29176?

rubygems.org n/a, per the CVE record by GitHub_M. The tables above give every range the sources list.

Which version fixes CVE-2022-29176?

None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.

How severe is CVE-2022-29176?

Critical (9.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2022-29176?

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.