ZeroHour

CVE-2026-12894

large

Template Injection RCE in Quarkus Qute ReflectionValueResolver

CVSS 3.1
8.8 high
EPSS
<1%p41
Published
()
Modified
AI analysis

CVE-2026-12894 is a template-engine flaw (CWE-1336) in Qute, the template engine bundled with the Quarkus Java framework: the ReflectionValueResolver fails to properly block access to sensitive Java internal functions when resolving values on certain data types such as Enums. It is triggered when an attacker can supply or influence template text processed by Qute, for example user-controlled templates or template expressions used to generate HTML pages or emails; the CVSS vector (AV:N/AC:L/PR:L/UI:N) indicates network reachability, low complexity, and only low privileges required. A successful attacker gains remote code execution and can take control of the server, with high impact on confidentiality, integrity, and availability. Any application built on Quarkus that renders Qute templates with attacker-influenced content is affected; the source data does not enumerate affected version ranges, which are available in the Red Hat advisory. Exploitation has not been reported: no public proof-of-concept is known, the flaw is not in CISA's KEV, and EPSS estimates only about a 0.5% probability of exploitation within 30 days (41st percentile).

What to do: Upgrade Quarkus and any Red Hat builds of Quarkus (including the bundled Qute engine) to the fixed releases identified in the Red Hat security advisory, since the source data does not list specific version numbers. Until patched, avoid letting users supply or modify Qute template text or template expressions, and consider restricting or disabling the ReflectionValueResolver for templates that process untrusted input. Audit applications for places where template content is dynamic or user-driven, such as HTML page or email generation, as those are the exploitable code paths.

Affected
Red Hat Quarkus (Qute template engine, ReflectionValueResolver component)
Estimated exposure
large≈ tens of thousands of Quarkus application deployments worldwide (not directly counted), with only those accepting attacker-influenced template content… — Quarkus is a widely adopted Red Hat-backed Java framework with millions of monthly Maven Central artifact downloads and a large developer base, implying a deployment base in the tens of thousands, but no public internet-exposure scan or…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A flaw was found in the Qute template engine, which is used by Quarkus to generate dynamic content like HTML pages or emails. The issue exists in the component responsible for looking up data values (ReflectionValueResolver), which fails to properly block access to sensitive Java internal functions when processing certain data types like Enums. An attacker who can provide or influence the template text can exploit this bypass to take control of the server by executing unauthorized commands.

Weakness
CWE-1336
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.