CVE-2026-46581

wildfly-clustering-faces-mojarra: com.sun.faces:jsf-impl: org.glassfish:jakarta.faces: mojarra: Unauthenticated RCE in EAP JSF applications via EL injection in ui:include

Published Aug 5, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
In Eclipse Mojarra versions 2.3 and following, URL handing in `DefaultFaceletFactory` does not properly sanitize and/or block remote URLs, allowing an attacker to specify a URL to a remote Facelet which will be included and processed as part of the normal request, with the privileges of the target server. This could allow access to restricted files such as `WEB-INF/web.xml` or `/etc/passwd`.

Analysis

AI-generated

Technical impact

Eclipse Mojarra versions 2.3 and newer permit an attacker to provide a remote URL to a Facelet through DefaultFaceletFactory. The factory does not sanitize or block remote URLs, so the server downloads and processes the Facelet with its own privileges. This can expose restricted files such as WEB‑INF/web.xml or /etc/passwd. The flaw is reflected by CWEs‑22, ‑641, and ‑94.

Affected Systems

The vulnerability affects all installations of Eclipse Foundation Eclipse Mojarra starting with version 2.3, including all subsequent minor releases where the DefaultFaceletFactory behavior remained unchanged.

Risk and Exploitability

The flaw allows an attacker to fetch and process a remote Facelet, potentially exposing confidential server files such as WEB‑INF/web.xml or /etc/passwd. If an application exposes the factory to user‑supplied URLs, an attacker can trigger the flaw by constructing a request that includes a malicious URL. The CVSS score is 7.5, indicating a high severity, and the EPSS score is not available. The issue is not listed in the CISA KEV catalog, so the exact exploitation likelihood remains unknown, but the potential for significant information disclosure is clear.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Eclipse Mojarra to the latest release that corrects the URL handling flaw.
  • If an immediate upgrade is not feasible, replace DefaultFaceletFactory with a custom implementation that rejects remote URLs or configure the application to forbid external Facelet loading.
  • Block outbound HTTP requests from the application server to external domains using firewall or proxy rules to prevent remote Facelet retrieval.
  • Monitor logs for attempts to load external Facelets and alert on suspicious activity.

Generated by OpenCVE AI on August 5, 2026 at 16:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Eclipse
Eclipse eclipse Mojarra
Vendors & Products Eclipse
Eclipse eclipse Mojarra
Type Values Removed Values Added
Title Remote Facelet Inclusion Allowing Unauthorized File Disclosure in Eclipse Mojarra wildfly-clustering-faces-mojarra: com.sun.faces:jsf-impl: org.glassfish:jakarta.faces: mojarra: Unauthenticated RCE in EAP JSF applications via EL injection in ui:include
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Remote Facelet Inclusion Allowing Unauthorized File Disclosure in Eclipse Mojarra
Type Values Removed Values Added
Description In Eclipse Mojarra versions 2.3 and following, URL handing in `DefaultFaceletFactory` does not properly sanitize and/or block remote URLs, allowing an attacker to specify a URL to a remote Facelet which will be included and processed as part of the normal request, with the privileges of the target server. This could allow access to restricted files such as `WEB-INF/web.xml` or `/etc/passwd`.
Weaknesses CWE-22
CWE-641
CWE-94
References
Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-641

    Improper Restriction of Names for Files and Other Resources

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Aug 5, 2026, 2:38 PM
Reserved
Jul 8, 2026, 2:11 PM
Status
Analyzed
Published
Aug 5, 2026, 12:18 PM
Modified
Oct 23, 2026, 9:10 PM
Severity
Important
Public date
Aug 6, 2026, 12:01 PM