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-107637 Overview
CVE-2026-107637 is an improper authorization vulnerability [CWE-639] in pH7Builder (pH7 Social Dating CMS) versions prior to 18.5.0. The flaw resides in the note module's delete() action, where database queries omit profile ID ownership checks. Authenticated members can submit another member's note ID in the POST id parameter to remove that user's note comments and category associations. The vulnerability affects data integrity for notes owned by other registered members on the platform.
Critical Impact
Any authenticated member can delete comments and category associations attached to notes belonging to other members, resulting in unauthorized data loss across the application.
Affected Products
- pH7Builder (pH7 Social Dating CMS) versions before 18.5.0
- Vulnerable component: _protected/app/system/modules/note/controllers/MainController.php
- Fixed in: pH7Builder 18.5.0
Discovery Timeline
- 2026-10-08 - CVE-2026-107637 published to NVD
- 2026-10-08 - Last updated in NVD database
Technical Details for CVE-2026-107637
Vulnerability Analysis
The vulnerability is an Insecure Direct Object Reference (IDOR) in the note module's delete workflow. When an authenticated member invokes the delete() action in MainController.php, the controller accepts a note identifier through the POST id parameter and dispatches deletion queries against the note's comments and category associations. The underlying SQL operations use the supplied note ID as the sole filter, without binding the request to the acting member's profile ID. As a result, the application never confirms that the current session owns the note being modified.
The advisory references lines 311–320 of MainController.php in tag v18.4.1 as the vulnerable code path. Fix commit e784139b2385ef44d08a1d586c365857dd777ef6 introduces the ownership check that was previously missing. See the VulnCheck Advisory for pH7Builder for the full write-up.
Root Cause
The root cause is missing authorization enforcement on a privileged state-changing action. The delete() method trusts the client-supplied note identifier and does not cross-reference the note's profileId against the session's authenticated user. This mismatch between resource ownership and request validation is the defining characteristic of [CWE-639] (Authorization Bypass Through User-Controlled Key).
Attack Vector
Exploitation requires valid member credentials on the target pH7Builder instance. An attacker enumerates or guesses a victim's note ID, then issues a POST request to the note module's delete endpoint supplying that ID in the id parameter. The server executes the deletion against the victim's note comments and category links. No elevated privileges, user interaction, or local access are required beyond standard authenticated membership. See the GitHub File Reference in MainController for the vulnerable code location.
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-107637
Indicators of Compromise
- Unexpected removal of note comments or category associations reported by members who did not initiate the deletion.
- POST requests to the note module delete route in which the id parameter references a note not owned by the authenticated session.
- Spikes in DELETE SQL statements against note comment and category tables originating from a single session.
Detection Strategies
- Review web server access logs for POST requests to the note module delete action and correlate the submitted id parameter with the authenticated member's profileId.
- Enable database query auditing on the note comment and category tables and alert on deletions where the owning profile ID does not match the acting session.
- Compare pre- and post-request note ownership state to identify requests that affect resources outside the caller's profile.
Monitoring Recommendations
- Instrument application logging to record the session user, submitted resource ID, and resource owner for every delete operation in the note module.
- Add rate-limiting and anomaly alerts for members that trigger an unusually high volume of note deletions.
- Forward application and database audit logs to a centralized analytics platform for cross-correlation with authentication events.
How to Mitigate CVE-2026-107637
Immediate Actions Required
- Upgrade pH7Builder to version 18.5.0 or later, which includes the authorization fix.
- Audit the note comment and category tables for unauthorized deletions and restore from backup where necessary.
- Rotate credentials for member accounts suspected of abusing the delete endpoint and review their activity history.
Patch Information
The fix is delivered in pH7Builder 18.5.0 via commit e784139. The patch adds the missing profile ID ownership check to the note module delete() action so that deletion queries only affect records belonging to the authenticated member. Administrators should pull from the GitHub Repository for pH7 CMS and deploy the updated release.
Workarounds
- If upgrading cannot be performed immediately, apply the ownership check from commit e784139 as a backport to the deployed MainController.php.
- Restrict access to the note module through web application firewall rules that validate the id parameter against the authenticated session where feasible.
- Temporarily disable the note delete feature at the application or reverse-proxy layer until the patched version is deployed.
# Configuration example: upgrade pH7Builder to the patched release
git fetch --tags
git checkout v18.5.0
# Verify the patched MainController includes the ownership check
grep -n "profileId" _protected/app/system/modules/note/controllers/MainController.php
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

