Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-22737

Опубликовано: 19 мар. 2026
Источник: redhat
CVSS3: 6.5
EPSS Низкий

Описание

Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.

A flaw was found in Spring Framework. When Java scripting engine enabled template views (such as those using JRuby or Jython) are used in Spring MVC and Spring WebFlux applications, a remote attacker can exploit this to disclose sensitive content from files located outside the intended script template view directories. This information disclosure can expose confidential data.

Меры по смягчению последствий

To mitigate this issue, avoid using Java scripting engine enabled template views (e.g., JRuby, Jython) in Spring MVC and Spring WebFlux applications. If these engines are not essential for application functionality, disable or remove their integration to prevent unauthorized file disclosure. Review application configurations to ensure that template view directories are strictly controlled and that no external scripting engines are inadvertently enabled.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat AMQ Broker 7spring-webmvcFix deferred
Red Hat build of Apache Camel for Spring Boot 4spring-webmvcFix deferred
Red Hat build of Apache Camel - HawtIO 4spring-webfluxFix deferred
Red Hat build of Apache Camel - HawtIO 4spring-webmvcFix deferred
Red Hat build of OptaPlanner 8spring-webmvcFix deferred
Red Hat Data Grid 8spring-webmvcFix deferred
Red Hat Enterprise Linux 8log4j:2/log4jFix deferred
Red Hat Enterprise Linux 8pki-core:10.6/resteasyFix deferred
Red Hat Enterprise Linux 8pki-deps:10.6/resteasyFix deferred
Red Hat Enterprise Linux 9log4jFix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-22
https://bugzilla.redhat.com/show_bug.cgi?id=2449348Spring Framework: Spring Framework: Information disclosure via Java scripting engine enabled template views

EPSS

Процентиль: 20%
0.00063
Низкий

6.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 5.9
nvd
12 дней назад

Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.

CVSS3: 5.9
debian
12 дней назад

Use of Java scripting engine enabled (e.g. JRuby, Jython) template vie ...

CVSS3: 5.9
github
12 дней назад

Spring Framework Improper Path Limitation with Script View Templates

EPSS

Процентиль: 20%
0.00063
Низкий

6.5 Medium

CVSS3