CVE-2025-49574
mediumpriority · track · 0EPSS 0.003 · 21 %ileDEEURUUSEPSS · scored 2026-10-27
Quarkus is a Cloud Native, (Linux) Container First framework for writing Java applications. In versions prior to 3.24.1, 3.20.2, and 3.15.6, there is a potential data leak when duplicating a duplicated context. Quarkus extensively uses the Vert.x duplicated context to implement context propagation. With the new semantic data from one transaction can leak to the data from another transaction. From a Vert.x point of view, this new semantic clarifies the behavior. A significant amount of data is stored in the duplicated context, including request scope, security details, and metadata. Duplicating a duplicated context is rather rare and is only done in a few places. This issue has been patched in version 3.24.1, 3.20.2, and 3.15.6.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (14)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1639Keycloak (Quarkus): Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2025-07-23csaf · cert_bundDE
Ein Angreifer aus einem angrenzenden Netzwerk kann eine Schwachstelle in Keycloak ausnutzen, um Informationen offenzulegen.
- GHSA-9623-mj7j-p9v4Quarkus potentially leaks data when duplicating a duplicated context2025-06-23ghsa · osvUS
### Impact Vert.x 4.5.12 has changed the semantics of the duplication of duplicated context. Duplicated context is an object used to propagate data through a processing (synchronous or asynchronous). Each "transaction" or "processing" runs on its own isolated duplicated context. Initially, duplicating a duplicated context was creating a fresh (empty) new context, meaning that the new duplicated context can be used to managed a separated transaction. In Vert.x 4.5.12, this semantics has changed, and since the content of the parent duplicated context is copied into the new one, potentially leaking data. This CVE is especially for Quarkus as Quarkus extensively uses the Vert.x duplicated context to implement context propagation. With the new semantic data from one transaction can leak to the data from another transaction. From a Vert.x point of view, this new semantic clarifies the behavior. A significant amount of data is stored in the duplicated context, including request scope, security details, and metadata. Duplicating a duplicated context is rather rare and is only done in a few places: - Quarkus REST Client when using OTel (but it's the same transaction, so no leak) - Quarkus Messaging connectors - Quarkus SmallRye Health (same transaction, so no leak) ### Patches After discussion with the Vert.x team, the change will be rolled back in Vert.x 4.x. A new API will be added to Vert.x 5 do distinguish the 2 cases. ### Workarounds When duplicating a duplicated context, the following code can be done to avoid the potential leak: ```java ((ContextInternal) VertxContext.getRootContext(ctx)).duplicate() ``` This workaround would not be required once the Vert.x version containing the fix will be included. Note that the workaround would still work. ### References This issue have been reported in https://github.com/quarkusio/quarkus/issues/48227.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (23)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-49574cnnvd
- https://github.com/quarkusio/quarkus/commit/2b58f59f4bf0bae7d35b1abb585b65f2a66787d1cnnvd
- https://github.com/quarkusio/quarkus/commit/31e8a3bfcf4e223788615d5ce25eb929ca251275cnnvd
- https://github.com/quarkusio/quarkus/commit/d1ee57e7b826872b6355cfec0ae13465840e232ccnnvd
- https://github.com/quarkusio/quarkus/issues/48227cnnvd
- https://github.com/quarkusio/quarkus/pull/48486cnnvd
- https://github.com/quarkusio/quarkus/releases/tag/3.24.1cnnvd
- https://github.com/quarkusio/quarkus/security/advisories/GHSA-9623-mj7j-p9v4cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan