PT-2026-56052 · Git+2 · Formie+1

CVE-2026-52889

·

Published

2026-07-06

·

Updated

2026-08-19

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Formie versions 3.0.0-beta.1 through 3.1.26
Description Formie allows request-derived Hidden field defaults to be passed to the Twig rendering layer during front-end form rendering. An unauthenticated attacker can inject Twig syntax into request-controlled inputs—such as HTTP User Agent, Referer URL, Current URL, Current URL without Query String, Query Parameter, and Cookie Value—when a public form contains an affected Hidden field. The Hidden::getFrontEndInputOptions() function assigns these values to defaultValue and calls renderString, leading to server-side template evaluation (SSTE) instead of treating the data as a plain string. Depending on the site configuration, this can result in the disclosure of sensitive information, modification of application state, or remote code execution.
Recommendations Update Formie to version 3.1.27 or later. As a temporary workaround, avoid using request-derived Hidden field defaults on public forms, including HTTP User Agent, HTTP Refer URL, Current URL, Current URL without Query String, Query Parameter, and Cookie Value. Alternatively, remove affected Hidden fields from public forms until the update is applied.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-52889
GHSA-565M-G33J-JQ96

Affected Products

Formie
Verbb/Formie