Skip to main content
Menu
CVEs

Verbb Formie secret leak in redirect URLs

Affects Formie, a Craft CMS plugin, in the 1.4.22, 2.0.0-beta.1, and 3.0.0-beta.1 lines before 1.7.0, 2.2.34, and 3.1.37, which are the fixed versions.

CVE-2026-145572Published December 5, 2026, updated

8.8HighCNA
Exploited
No known exploitation
Fix
Fixed in 1.7.0, 2.2.34, 3.1.37
Who is exposed
Not reported

Summary

Verbb Formie, a form plugin for Craft CMS, has a server-side template injection flaw in its redirect URL handling. A remote attacker without logging in can submit a public form with Twig expressions in query parameters, which the software evaluates, letting them read secrets such as the Craft security key and database connection string.

Written by a model

Original description

Verbb Formie for Craft CMS 1.4.22 before 1.7.0, 2.x before 2.2.34, and 3.x before 3.1.37 contains a server-side template injection vulnerability that allows unauthenticated attackers to evaluate Twig expressions via query parameters merged into form redirect URLs. Attackers can submit a public form with Twig payloads in query parameters rendered by renderObjectTemplate() to disclose secrets like the Craft security key and database DSN.

Who should check

Teams running Formie on Craft CMS sites with public or headless forms that use redirect URLs, on affected 1.4.22-1.6.x, 2.0-2.2.33, or 3.0-3.1.36 releases.

“formie >= 1.4.22, < 1.7.0”

vulncheck.com

What to do

Upgrade to a fixed version: 1.7.0, 2.2.34, 3.1.37.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-145572 (Formie 1.4.22 before 1.7.0, 2.2.34, and 3.1.37 SSTI via Redirect URL), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-145572 (entry last updated 2026-12-05):
Affected:
- Packagist package verbb/formie: from 1.4.22, fixed in 1.7.0; from 2.0.0-beta.1, fixed in 2.2.34; from 3.0.0-beta.1, fixed in 3.1.37
Fixed versions: 1.7.0, 2.2.34, 3.1.37.
Conditions (all must be true for the bug to be hit):
- Formie 1.4.22 before 1.7.0, 2.0.0-beta.1 before 2.2.34, or 3.0.0-beta.1 before 3.1.37 (Craft CMS plugin) (source: https://www.vulncheck.com/advisories/formie-1.4.22-before-1.7.0-2.2.34-and-3.1.37-ssti-via-redirect-url)
- A public form with a configured form redirect URL (source: https://github.com/verbb/formie/security/advisories/GHSA-g66r-rqjj-3fr2)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-145572 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-145572 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (Packagist): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/verbb/formie/security/advisories/GHSA-g66r-rqjj-3fr2
- https://github.com/verbb/formie/commit/f35dd67eea61f9a4fa6ad300f4f3f92f257abae8
- https://github.com/verbb/formie/commit/a26f8ea6065839e5b0ac911c56774efdf2738471
- https://github.com/verbb/formie/commit/b1db559b450d7074b26e670e4b22be8931c97867
- https://github.com/verbb/formie/releases/tag/3.1.37
- https://github.com/verbb/formie/releases/tag/2.2.34
- https://github.com/verbb/formie/releases/tag/1.7.0
- https://github.com/verbb/formie/blob/3.1.36/src/elements/Form.php#L1058-L1070
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-145572
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-145572"}.

Affected versions

cve.now Index

36Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
  • Reach10/20Affects Packagist packages
  • Severity8.8/10CVSS 8.8
  • No patch0/5No signal

What would change the score

  • Would score about 81 if added to CISA KEV
  • Would score about 76 if CISA's SSVC rates exploitation active
  • Would score about 41 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 12

Questions about CVE-2026-145572

Is CVE-2026-145572 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

Formie does not properly handle a configured form redirect URL, so Twig expressions passed in query parameters can be evaluated server-side by unauthenticated visitors. This can disclose sensitive configuration, including the Craft security key and database DSN.

Source: vulncheck.com, github.com

Which versions are affected by CVE-2026-145572?

verbb/formie (Packagist): from 1.4.22 before 1.7.0; from 2.0.0-beta.1 before 2.2.34; from 3.0.0-beta.1 before 3.1.37.

Source: cve.now feed data

Am I affected, and how do I check?

Affects Formie 1.4.22 before 1.7.0, 2.0.0-beta.1 before 2.2.34, and 3.0.0-beta.1 before 3.1.37 when used as a Craft CMS plugin, on public forms with a configured form redirect URL. The installed Formie version can be checked in the Craft CMS control panel's plugin list, and form redirect URL settings can be reviewed in each form's configuration.

Source: vulncheck.com, github.com

How do I fix CVE-2026-145572?

Upgrade to 1.7.0, 2.2.34, or 3.1.37, whichever matches the installed release line.

Source: vulncheck.com, github.com

No corrections so far. Something wrong on this page? Report an error.