Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-107636 Overview
CVE-2026-107636 is a payment validation vulnerability in pH7Builder (pH7 Social Dating CMS) before version 18.5.1. The flaw resides in the payment module's MainController.php and allows registered low-privileged members to obtain any membership tier by supplying client-controlled plan and amount parameters. Attackers can manipulate item_number, cart_order_id, or the PayPal custom field while paying a token amount. Submitting uncompleted PayPal Instant Payment Notification (IPN) messages produces the same result. Successful exploitation grants the most expensive membership tier along with all associated paid features. The weakness is classified as [CWE-472]: External Control of Assumed-Immutable Web Parameter.
Critical Impact
Authenticated low-privileged users can escalate their membership tier and access paid features without legitimate payment, resulting in direct revenue loss and integrity compromise of the subscription model.
Affected Products
- pH7Builder (pH7 Social Dating CMS) versions prior to 18.5.1
- Payment module MainController.php in versions up to v18.5.0
- Deployments integrating PayPal IPN, Braintree, and 2Checkout payment handlers
Discovery Timeline
- 2026-10-08 - CVE-2026-107636 published to NVD
- 2026-10-08 - Last updated in NVD database
Technical Details for CVE-2026-107636
Vulnerability Analysis
The pH7Builder payment flow trusts fields supplied by the client when determining which membership plan the user purchased. The payment controller reads values such as item_number, cart_order_id, and the PayPal custom field directly from the HTTP request and uses them to look up membership entitlements. Server-side verification does not reconcile the submitted plan identifier with the actual amount paid or the IPN completion status. A low-privileged authenticated member can therefore submit a payment for a trivial amount while declaring any membership tier, or send an uncompleted IPN message that the application still accepts as a valid upgrade signal.
Root Cause
The root cause is improper reliance on externally controlled parameters that the application treats as trusted. The vulnerable logic lives in _protected/app/system/modules/payment/controllers/MainController.php (lines 274–380 in v18.5.0). The controller derives the membership group from request input instead of fetching an authoritative price-to-plan mapping from the database and validating it against the gateway's confirmed amount and transaction status.
Attack Vector
Exploitation requires network access and a valid low-privileged account. The attacker initiates a payment flow, substitutes the plan identifier in item_number, cart_order_id, or the PayPal custom field with the identifier of the most expensive membership tier, and pays a nominal amount. Alternatively, the attacker submits a crafted IPN callback whose payment status is not Completed, which the controller still processes as a successful purchase. No user interaction beyond the attacker's own session is required.
The vendor patch references the payment configuration and Braintree handler. The following excerpt from the security commit shows a corrected configuration key:
braintree.enabled = 0
braintree.merchant_id = "cbqd3ncztsszwbrh"
braintree.public_key = "7mr28wc74trf2xp4"
-braintree.private_ke = "3a21c73d4c362d0bf38080e9d87a5854"
+braintree.private_key = "3a21c73d4c362d0bf38080e9d87a5854"
; 2Checkout
2co.enabled = 0
Source: GitHub Commit 5218d01
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-107636
Indicators of Compromise
- Membership upgrade events in the database that are not matched by a corresponding completed gateway transaction with the expected amount.
- PayPal IPN log entries with payment_status values other than Completed (for example Pending, Failed) that still result in a membership change.
- Discrepancies between the paid amount recorded by the gateway and the plan price assigned in the pH7Builder user record.
Detection Strategies
- Reconcile pH7Builder membership change events against authoritative payment gateway reports to identify mismatched plans or amounts.
- Inspect web server logs for POST requests to the payment module that include client-supplied item_number, cart_order_id, or custom fields referencing premium plan identifiers.
- Audit database tables that store membership assignments for users whose transaction history shows only token-value payments.
Monitoring Recommendations
- Enable verbose logging in the payment module and forward logs to a central analytics or SIEM platform for correlation with gateway webhooks.
- Alert on repeated IPN callbacks from the same account within short time windows, especially when amounts differ from published plan prices.
- Track membership tier escalations by low-tenure accounts and flag any upgrade to the highest tier for manual review.
How to Mitigate CVE-2026-107636
Immediate Actions Required
- Upgrade all pH7Builder installations to version 18.5.1 or later without delay.
- Audit existing membership assignments and revoke tiers that cannot be matched to a completed gateway transaction of the correct amount.
- Rotate payment gateway API credentials referenced in _protected/app/system/modules/payment/config/config.ini after applying the patch.
Patch Information
The vendor fix is tracked in commit 5218d01 and is included in release 18.5.1. The patch hardens membership payment validation in the Payment MainController and corrects configuration handling for the Braintree integration. Additional context is available in the VulnCheck Advisory on pH7Builder and the GitHub Repository for pH7 CMS.
Workarounds
- Disable the payment module or restrict access to the payment endpoints until the upgrade is applied.
- Place the application behind a reverse proxy or web application firewall rule that drops requests containing client-controlled plan identifiers or incomplete IPN callbacks.
- Manually verify every membership upgrade against gateway reports and roll back any that are not backed by a Completed transaction with the full plan price.
# Upgrade pH7Builder to the patched release
git fetch --tags
git checkout v18.5.1
# Validate the fixed configuration key is present
grep 'braintree.private_key' _protected/app/system/modules/payment/config/config.ini
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

