Remote Code Execution Affecting org.glassfish:jakarta.faces package, versions [,4.0.22)[4.0.23,4.1.13)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.44% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGGLASSFISH-19675972
  • published11 Sept 2026
  • disclosed5 Aug 2026
  • creditJason Lee

Introduced: 5 Aug 2026

CVE-2026-46581  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.glassfish:jakarta.faces to version 4.0.22, 4.1.13 or higher.

Overview

org.glassfish:jakarta.faces is an Oracle's implementation of the JavaServer Faces specification.

Affected versions of this package are vulnerable to Remote Code Execution due to path traversal in the resolveURL(URL source, String path) method of DefaultFaceletFactory, which passes a path that does not start with / straight into the URL constructor, so an absolute spec overrides the base URL. An attacker can execute code server-side by supplying an absolute URL such as http://attacker.example/rce.xhtml that Mojarra fetches, compiles, and evaluates as a Facelet including its #{...} EL expressions, or read arbitrary files through file:// and jar:file:// schemes. This requires the application to have a JSF page whose <ui:include src>, <ui:composition template>, or <ui:decorate template> value comes from user-controlled input, for example <ui:include src="#{param.p}" />.

CVSS Base Scores

version 4.0
version 3.1