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`.
Published: 2026-08-05
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 07 Aug 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Eclipse
Eclipse eclipse Mojarra
Vendors & Products Eclipse
Eclipse eclipse Mojarra

Fri, 07 Aug 2026 00:15:00 +0000

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


Wed, 05 Aug 2026 15:30:00 +0000

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'}


Wed, 05 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Title Remote Facelet Inclusion Allowing Unauthorized File Disclosure in Eclipse Mojarra

Wed, 05 Aug 2026 12:00:00 +0000

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

Subscriptions

Eclipse Eclipse Mojarra Mojarra
cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-08-05T14:38:08.035Z

Reserved: 2026-07-08T14:11:22.752Z

Link: CVE-2026-46581

cve-icon Vulnrichment

Updated: 2026-08-05T14:34:59.921Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-05T12:18:57.190

Modified: 2026-08-10T17:26:01.393

Link: CVE-2026-46581

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-06T12:01:27Z

Links: CVE-2026-46581 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T10:07:06Z

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')