# Hail relies on OIDC email claims to verify the validity of a user's domain.

Advisory record · `GHSA-487p-qx68-5vjw`

- **Identifiers:** `GHSA-487p-qx68-5vjw` · `CVE-2023-51663` · `PYSEC-2023-271`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-289](https://cwe.mitre.org/data/definitions/289.html)
- **Tags:** [CWE-289](https://agentprime.io/advisories/tag/cwe-289.md)
- **Published:** 2 Jan 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 2 Jan 2024, 16:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `hail` (PyPI): affected `<0.2.127`; fixed in `0.2.127`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Hail (PyPI package hail, versions before 0.2.127) relies on email claims from OIDC identity providers to verify that a user belongs to an organization's domain. An attacker with a Microsoft or Google account that can set an arbitrary email address, or an Azure AD administrator, can create Hail Batch accounts on clusters whose organization domain they do not belong to, and can run jobs if trial billing projects are enabled. Upgrade to hail 0.2.127 or later, and audit the user list for accounts whose login IDs are not valid with your identity provider.

Written 5 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0037, the 30th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:36 UTC: First seen by agentprime
- 31 Oct 2026, 14:36 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-487p-qx68-5vjw)

## Sources

- [GitHub Advisory Database: GHSA-487p-qx68-5vjw](https://github.com/advisories/GHSA-487p-qx68-5vjw)
- [OSV: GHSA-487p-qx68-5vjw](https://osv.dev/vulnerability/GHSA-487p-qx68-5vjw)
- <https://github.com/hail-is/hail/security/advisories/GHSA-487p-qx68-5vjw>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51663>
- <https://github.com/hail-is/hail/commit/0dcc17ff24564b6f5592261d7975e8afd0f95de7>
- <https://github.com/hail-is/hail>
- <https://github.com/pypa/advisory-database/tree/main/vulns/hail/PYSEC-2023-271.yaml>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-487p-qx68-5vjw>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-487p-qx68-5vjw/>. Everything for agents: <https://agentprime.io/llms.txt>.
