CVE-2026-89426
Received
Received - Intake
Privilege Escalation in Knit Pay WordPress Plugin
Vulnerability report for CVE-2026-89426, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-09-25
Last updated on: 2026-09-25
Assigner: Wordfence
Description
Description
The Knit Pay β Cashfree, Instamojo, Razorpay, PayPal and more plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 9.6.1.0. This is due to the `maybe_update_user_role()` function reading the target role directly from an attacker-controlled Gravity Forms entry field β configured via the feed's `user_role_field_id` β and passing it to `WP_User::set_role()` without validating the supplied value against an allowlist of permitted roles. This makes it possible for authenticated attackers, with Subscriber-level access and above, to elevate their privileges to administrator by tampering with the hidden role field value at form submission time. Exploitation is further enabled by the fact that $0 orders are synchronously marked as SUCCESS during form submission without requiring a real payment, and when no GF User Registration user can be resolved, the role assignment target falls back to `$lead['created_by']` β the currently authenticated submitter's own user ID β making any authenticated form submitter an eligible exploitation target.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| knit_pay | knit_pay | to 9.6.1.0 (inc) |
| knit_pay | cashfree | 9.6.1.0 |
| knit_pay | instamojo | 9.6.1.0 |
| knit_pay | razorpay | 9.6.1.0 |
| knit_pay | paypal | 9.6.1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-269 | The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. |