# CrateDB authentication bypass vulnerability

Advisory record · `GHSA-7mgx-gvjw-m3w3`

- **Identifiers:** `GHSA-7mgx-gvjw-m3w3` · `CVE-2023-51982`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-287](https://cwe.mitre.org/data/definitions/287.html)
- **Tags:** [Authentication bypass](https://agentprime.io/advisories/tag/auth-bypass.md)
- **Published:** 30 Jan 2024
- **Updated:** 21 Nov 2024
- **Reviewed by a person:** No

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

## Affected packages

- `io.crate:crate` (Maven): affected `<5.2.11 || >=5.3.0, <5.3.8 || >=5.4.0, <5.4.7 || >=5.5.0, <5.5.2`; fixed in `5.2.11`, `5.3.8`, `5.4.7`, `5.5.2`

## Machine-written summary

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

> CrateDB (io.crate:crate) versions before 5.2.11, from 5.3.0 before 5.3.8, from 5.4.0 before 5.4.7, and from 5.5.0 before 5.5.2 are affected. When password authentication is configured with local addresses allowed, a remote attacker can bypass authentication in the Admin UI by sending a crafted X-Real-IP request header and gain access as the default user. Upgrade to 5.2.11, 5.3.8, 5.4.7, or 5.5.2 or later.

Written 8 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

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`, from GitHub Advisory Database

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

## Timeline

- 31 Oct 2026, 15:13 UTC: First seen by agentprime
- 31 Oct 2026, 15:13 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-7mgx-gvjw-m3w3)

## Sources

- [GitHub Advisory Database: GHSA-7mgx-gvjw-m3w3](https://github.com/advisories/GHSA-7mgx-gvjw-m3w3)
- [OSV: GHSA-7mgx-gvjw-m3w3](https://osv.dev/vulnerability/GHSA-7mgx-gvjw-m3w3)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51982>
- <https://github.com/crate/crate/issues/15231>
- <https://github.com/crate/crate/pull/15234>
- <https://github.com/crate/crate/commit/0c166ef083bec4d64dd55c1d8cb9b3dec350d241>
- <https://github.com/crate/crate/commit/5be7b3864137c23305ece10df3f7c311ee50ae4d>
- <https://github.com/crate/crate/commit/b8b4cec49a1c7eb2b5af568400bd571d194dc03e>
- <https://github.com/crate/crate/commit/da59311ca920743ebc58ee64c29cfe5723487f56>
- <https://github.com/crate/crate>
- <https://github.com/pypa/advisory-database/tree/main/vulns/crate/PYSEC-2024-27.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-7mgx-gvjw-m3w3>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-7mgx-gvjw-m3w3/>. Everything for agents: <https://agentprime.io/llms.txt>.
