# CVE-2022-36073: RubyGems allows creation of users with arbitrary unverified emails

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.07%, higher than 65% of CVEs (2026-12-01)
- Published: 2022-09-07T19:45:11.000Z
- Modified: 2026-06-17T04:52:51.617Z
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

RubyGems.org is the Ruby community gem host. A bug in password & email change confirmation code allowed an attacker to change their RubyGems.org account's email to an unowned email address. Having access to an account whose email has been changed could enable an attacker to save API keys for that account, and when a legitimate user attempts to create an account with their email (and has to reset password to gain access) and is granted access to other gems, the attacker would then be able to publish and yank versions of those gems. Commit number 90c9e6aac2d91518b479c51d48275c57de492d4d contains a patch for this issue.

(As written by CVE List.)

## Affected

- rubygems rubygems.org: < 90c9e6aac2d91518b479c51d48275c57de492d4d
- rubygems rubygems: before 2022-08-31

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/rubygems/rubygems.org/security/advisories/GHSA-8qpf-wf2p-25vg> (patch, third-party-advisory)
- <https://github.com/rubygems/rubygems.org/commit/90c9e6aac2d91518b479c51d48275c57de492d4d> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-36073](https://www.cve.org/CVERecord?id=CVE-2022-36073), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-36073](https://nvd.nist.gov/vuln/detail/CVE-2022-36073), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-36073 · Whole record: https://cve.day/CVE-2022-36073.json · Rebuilt by cve.day 2026-11-25T22:58:14.756Z
