Skip to main content

RESTEasy CVE-2026-89058

| EUVDEUVD-2026-82736 HIGH
Permissive Cross-domain Security Policy with Untrusted Domains (CWE-942)
2026-09-18 redhat
7.4
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure authenticated victim to malicious site
  2. Delivery
    Browser sends credentialed cross-origin request
  3. Exploit
    CorsFilter reflects Origin + allows credentials
  4. Execution
    Attacker JS reads authenticated response
  5. Impact
    Exfiltrate session data to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration CORS policy restriction
Exploitation Conditions

Requires the target application to have RESTEasy's CorsFilter explicitly enabled and configured with allowedOrigins set to the wildcard '*' AND allowCredentials=true - this is a non-default developer/operator configuration, not RESTEasy's out-of-the-box behavior. Exploitation further requires (per UI:R) a victim who is already authenticated to the API and who is tricked into visiting an attacker-controlled web page while that session is active; the browser must honor the credentialed cross-origin request. Impact is limited to confidentiality (reading authenticated responses); no integrity or availability effect is described. These gates - non-default wildcard-plus-credentials CORS config and required victim interaction with an active session - meaningfully constrain real-world exploitation despite the network attack vector.

Impact

This is a genuine but conditionally-exploitable CORS misconfiguration in RESTEasy's CorsFilter, not a raw-code-execution flaw. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N = 7.4 High) is internally consistent with the description: network-reachable, low complexity, no attacker authentication (the victim supplies their own session), user interaction required (victim must visit a malicious page), scope change (attacker code in victim's browser reads data from a different security authority), and pure confidentiality impact. No EPSS score, no CISA KEV listing, and no public POC were provided, so exploitation status is 'no public exploit identified at time of analysis' - this is a defensively-reported (Red Hat/RESTEasy GHSA) vulnerability rather than an actively-exploited one. The most important caveat is that the C:H rating assumes the CorsFilter is explicitly deployed with a wildcard allowed-origin ('*') together with allowCredentials=true; this is a developer/operator opt-in, NOT RESTEasy's default behavior, which materially lowers real-world exploitability. Treat this as a targeted, config-dependent info-disclosure issue: patch and audit CORS configuration, but it is not a drop-everything internet-wide worming threat. CWE is 'N/A' in the input; the true class is permissive cross-origin resource sharing / Origin-reflection (CWE-942 / CWE-346), which should be recorded.

Exploit ScenarioDerived

A developer configures RESTEasy's CorsFilter to allow all origins ('*') while also sending Access-Control-Allow-Credentials: true. An attacker lures an authenticated victim to a malicious website, whose JavaScript issues credentialed cross-origin fetches to the vulnerable API; because the filter reflects the victim's Origin and permits credentials, the browser lets the attacker's page read the authenticated JSON responses. No public exploit code was provided, but the technique is standard and trivial to script.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 18, 2026

Cross-origin data exposure in RESTEasy's CorsFilter (CVSS 7.4) occurs when a deployment is configured with allowedOrigins set to the wildcard '*' together with allowCredentials=true, causing the filter to reflect the caller's Origin header back in Access-Control-Allow-Origin alongside Access-Control-Allow-Credentials: true. Because that configuration defeats the browser's built-in guard against combining wildcard origins with credentials, an attacker who lures an already-authenticated user (UI:R) to an attacker-controlled page can issue credentialed cross-origin requests and read that user's authenticated API responses - a confidentiality-only impact (C:H/I:N/A:N), with no integrity or availability effect. The prerequisite wildcard-plus-credentials CORS configuration is a non-default operator choice, and analysis identifies no public exploit identified at time of analysis.

RemediationAI

The primary remedy is configuration, not a code upgrade: stop using allowedOrigins="*" on RESTEasy's CorsFilter and replace it with an explicit, exact-match allowlist of trusted origins (scheme, host, and port), and only keep allowCredentials=true if that allowlist is in place - the reflected-origin-plus-credentials combination is the defect. No vendor-released patch version is identified in the provided data; the flaw is authored by the operator configuration, so verify current guidance in the upstream advisory https://github.com/resteasy/resteasy/security/advisories/GHSA-972r-f3fv-whm3, the Red Hat advisory https://access.redhat.com/security/cve/CVE-2026-89058, and Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2519775. If credentialed cross-origin access is not required, set allowCredentials=false or disable the CorsFilter entirely - the trade-off is that legitimate browser-based front ends on other origins will lose access. If wildcard origins cannot be avoided, restrict authenticated API traffic to same-origin by marking session cookies SameSite=Lax or Strict, which prevents them from being attached to attacker-initiated cross-site requests but will break intentional cross-site or embedded third-party integrations. Additional compensating controls include requiring a CSRF token on state-changing and sensitive read endpoints (does not stop simple credentialed GET reads unless the token is required for those reads) and network-level restrictions such as mTLS or IP allowlisting on sensitive APIs at the cost of limiting client compatibility.

Affected ProductsAI

The affected component is RESTEasy's CorsFilter across products that bundle or embed RESTEasy, including Red Hat JBoss EAP, WildFly, and standalone RESTEasy servlet deployments, but only in instances where CorsFilter is explicitly enabled and configured with allowedOrigins set to '*' together with allowCredentials=true; default RESTEasy behavior is not affected. The supplied intelligence contains no CPE strings and no explicit version ranges, so a precise list of impacted RESTEasy versions cannot be derived from the provided data - operators should consult the Red Hat security page at https://access.redhat.com/security/cve/CVE-2026-89058, the Red Hat Bugzilla record at https://bugzilla.redhat.com/show_bug.cgi?id=2519775, and the upstream GitHub security advisory at https://github.com/resteasy/resteasy/security/advisories/GHSA-972r-f3fv-whm3 for the authoritative affected-version matrix and fix mapping.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RESTEasy is Red Hat's JAX-RS implementation for RESTful Java services, shipped in WildFly, JBoss EAP, and embeddable/standalone servlet or Quarkus deployments. Its CorsFilter implements the browser CORS protocol, which normally forbids pairing Access-Control-Allow-Origin: * with Access-Control-Allow-Credentials: true; browsers refuse such responses. The flaw is that when the filter is configured with allowedOrigins="*" plus allowCredentials=true, it does not emit the literal '*' but instead echoes the request's Origin header value into Access-Control-Allow-Origin. That reflected value is a concrete origin, so the browser accepts the response as credentialed and exposes it to the requesting (attacker) origin - an origin-validation/permissive-cross-domain-policy failure of the same class as CWE-942, though no CWE identifier is assigned in the supplied data. This is fundamentally a configuration-dependent behavior in the filter's origin-reflection logic rather than a memory-safety or injection defect, and it only manifests where the operator has both enabled CorsFilter and chosen the wildcard-with-credentials combination.

Know when Resteasy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 7.4 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
vuln.today AI 7.4 HIGH

Agree with vendor: unauthenticated attacker (victim supplies session) so PR:N, victim must visit malicious page so UI:R, cross-authority read so S:C, confidentiality-only so I:N/A:N.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.4 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

A flaw was found in RESTEasy's CorsFilter, which, when configured to allow all origins ("*"), reflects the request's Origin header back in the Access-Control-Allow-Origin response together with Access-Control-Allow-Credentials: true. This permissive cross-origin policy allows a malicious website to make credentialed cross-origin requests and read authenticated responses from a victim's session, resulting in a loss of confidentiality.

Technical POC Analysis

CWE-942 (Permissive Cross-domain Security Policy with Untrusted Domains; the advisory's Weaknesses field, though the CVE description carries "CWE: n/a" - the advisory is authoritative here).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A configuration flaw in RESTEasy's CorsFilter can leak authenticated API responses to attacker-controlled web pages, but only in deployments that combine a wildcard allowed origin with credential support - a non-default operator choice rather than a product defect affecting all users. The exposure is limited to confidentiality: an attacker who lures a logged-in user to a malicious page could read that user's own API data, with no impact on data integrity or service availability. Leadership should care because the affected data is authenticated business or customer information flowing through Java REST services, and remediation depends on finding and fixing a configuration pattern that may exist across many services and environments.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: replace wildcard allowedOrigins with an explicit allowlist of trusted origins; set allowCredentials=false where credentialed cross-origin requests are not required; enforce Origin validation at a reverse proxy or WAF in front of affected services; segregate or reduce sensitive data returned by authenticated API endpoints; and monitor access logs for cross-origin requests from unapproved referrers.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
High
RESTEasy is the JAX-RS implementation shipped in JBoss/WildFly and widely used Java REST stacks
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2014-3490 HIGH
7.5 Aug 19

RESTEasy 2.3.1 before 2.3.8.SP2 and 3.x before 3.0.9, as used in Red Hat JBoss Enterprise Application Platform (EAP) 6.3

CVE-2018-1051 HIGH
8.1 Jan 25

It was found that the fix for CVE-2016-9606 in versions 3.0.22 and 3.1.2 was incomplete and Yaml unmarshalling in Restea

CVE-2016-6346 HIGH
7.5 Sep 07

RESTEasy enables GZIPInterceptor, which allows remote attackers to cause a denial of service via unspecified vectors. Ra

CVE-2020-1695 HIGH
7.5 May 19

A flaw was found in all resteasy 3.x.x versions prior to 3.12.0.Final and all resteasy 4.x.x versions prior to 4.6.0.Fin

CVE-2014-7839 MEDIUM
6.4 Nov 25

DocumentProvider in RESTEasy 2.3.7 and 3.0.9 does not configure the (1) external-general-entities or (2) external-parame

CVE-2016-6345 MEDIUM
6.5 Sep 07

RESTEasy allows remote authenticated users to obtain sensitive information by leveraging "insufficient use of random val

CVE-2016-6348 MEDIUM
6.1 Apr 12

JacksonJsonpInterceptor in RESTEasy might allow remote attackers to conduct a cross-site script inclusion (XSSI) attack.

CVE-2016-6347 MEDIUM
6.1 Apr 20

Cross-site scripting (XSS) vulnerability in the default exception handler in RESTEasy allows remote attackers to inject

CVE-2021-20293 MEDIUM
6.1 Jun 10

A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final, where i

CVE-2023-0482 MEDIUM
5.5 Feb 17

In RESTEasy the insecure File.createTempFile() is used in the DataSourceProvider, FileProvider and Mime4JWorkaround clas

CVE-2021-20289 MEDIUM
5.3 Mar 26

A flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final. Rated medium severity (CVSS 5.3), this vulne

CVE-2020-25633 MEDIUM
5.3 Sep 18

A flaw was found in RESTEasy client in all versions of RESTEasy up to 4.5.6.Final. Rated medium severity (CVSS 5.3), thi

Vendor StatusVendor

SUSE

Severity: Important

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy