# CVE-2023-51663: Hail authentication can be bypassed by changing email address

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2023-12-29T16:53:36.692Z
- Modified: 2026-09-10T03:50:04.803Z
- Also known as: GHSA-487p-qx68-5vjw, PYSEC-2023-271
- Weaknesses: CWE-289
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Hail is an open-source, general-purpose, Python-based data analysis tool with additional data types and methods for working with genomic data. Hail relies on OpenID Connect (OIDC) email addresses from ID tokens to verify the validity of a user's domain, but because users have the ability to change their email address, they could create accounts and use resources in clusters that they should not have access to. For example, a user could create a Microsoft or Google account and then change their email to `test@example.org`. This account can then be used to create a Hail Batch account in Hail Batch clusters whose organization domain is `example.org`. The attacker is not able to access private data or impersonate another user, but they would have the ability to run jobs if Hail Batch billing projects are enabled and create Azure Tenants if they have Azure Active Directory Administrator access.

(As written by CVE List.)

## Affected

- hail-is hail: < 0.2.127
- hail (PyPI): before 0.2.127
- hail hail: before 0.2.127

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/hail-is/hail/security/advisories/GHSA-487p-qx68-5vjw> (advisory, mitigation, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51663> (advisory)
- <https://github.com/hail-is/hail/commit/0dcc17ff24564b6f5592261d7975e8afd0f95de7> (web)
- <https://github.com/hail-is/hail> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/hail/PYSEC-2023-271.yaml> (web)

## Sources

- CVE List: [CVE-2023-51663](https://www.cve.org/CVERecord?id=CVE-2023-51663), CVE Terms of Use, modified 2025-04-17
- GitHub Advisory Database: [GHSA-487p-qx68-5vjw](https://github.com/advisories/GHSA-487p-qx68-5vjw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-51663](https://nvd.nist.gov/vuln/detail/CVE-2023-51663), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-271](https://osv.dev/vulnerability/PYSEC-2023-271), CC-BY-4.0, modified 2024-11-21

---

Page: https://cve.day/CVE-2023-51663 · Whole record: https://cve.day/CVE-2023-51663.json · Rebuilt by cve.day 2026-11-25T22:58:31.761Z
