NetSight
medium5.3

CVE-2026-120971

RESTEasy's default exception mapper returns an exception's localized message in the HTTP 500 response body when no application exception mapper handles an unha…

Impact

A flaw was found in RESTEasy's default exception mapper. When an unhandled exception other than a WebApplicationException is not handled by an application exception mapper, RESTEasy returns the exception's localized message in the HTTP 500 response body. A remote unauthenticated attacker who can trigger such an exception may obtain information contained in that message. The behavior was reproduced with RESTEasy 7.0.2.Final.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data being read.

Affected products · Red Hat

ProductAffected versions
Red Hat build of Apache Camel 4 for Quarkus 3
All versions
Red Hat build of Apicurio Registry 3
All versions
Red Hat build of Debezium 3
All versions
Red Hat Build of Keycloak
All versions
Red Hat build of Quarkus
All versions
Red Hat JBoss Enterprise Application Platform 8
All versions
Red Hat JBoss Enterprise Application Platform Expansion Pack
All versions
Red Hat Satellite 6
All versions

Weakness classification

References