CVE-2026-86170 Overview
CVE-2026-86170 is a SQL injection vulnerability in DefaultFuction Customer-Relationship-Management-System version 1.0.0. The flaw resides in the /modules/orders/edit.php script, where the ID parameter is passed directly into a SQL query without sanitization. Attackers can exploit the issue remotely over the network with low privileges. A public exploit exists, lowering the barrier for opportunistic attacks against exposed installations. The weakness maps to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component.
Critical Impact
Authenticated remote attackers can inject arbitrary SQL through the ID parameter of /modules/orders/edit.php, exposing CRM data such as customer records, orders, and credentials.
Affected Products
- DefaultFuction Customer-Relationship-Management-System 1.0.0
- Vulnerable component: /modules/orders/edit.php
- Vulnerable parameter: ID
Discovery Timeline
- 2026-09-06 - CVE-2026-86170 published to NVD
- 2026-09-09 - Last updated in NVD database
Technical Details for CVE-2026-86170
Vulnerability Analysis
The vulnerability affects the order-edit workflow of the DefaultFuction CRM application. When a user navigates to the order edit view, the application accepts an ID value from the request and uses it to build a database query. The value is concatenated into the SQL statement rather than bound as a parameter. This gives an attacker direct control over query structure through supplied input.
Because the endpoint is reachable over the network and requires only low-level authentication, exploitation does not depend on privileged access or user interaction. A public proof-of-concept has been shared through the project's issue tracker and referenced in VulDB entry 399308.
Root Cause
The root cause is unsanitized input handling in /modules/orders/edit.php. The ID parameter flows into a SQL query without input validation, type enforcement, or use of prepared statements. This matches the [CWE-74] pattern of improper neutralization of special elements passed to a downstream interpreter.
Attack Vector
An authenticated attacker sends a crafted request to /modules/orders/edit.php with a malicious ID value. Injected SQL clauses can enumerate database schemas, extract records via UNION SELECT, or modify data through stacked queries where the backend permits. See the GitHub issue for the disclosed request pattern.
Detection Methods for CVE-2026-86170
Indicators of Compromise
- HTTP requests to /modules/orders/edit.php containing SQL metacharacters such as ', ", --, ;, or UNION in the ID parameter.
- Web server logs showing unusually long or URL-encoded ID values (for example %27%20OR%201=1--).
- Database error responses returned to authenticated CRM sessions after order-edit requests.
- Unexpected SELECT activity against CRM tables originating from the application's database user.
Detection Strategies
- Deploy signatures in web application firewalls that flag SQL injection patterns targeting the ID parameter of /modules/orders/edit.php.
- Correlate authenticated CRM sessions with anomalous database query volumes or schema-enumeration queries such as information_schema.tables.
- Alert on HTTP 500 responses tied to the edit.php endpoint, which often accompany failed injection attempts.
Monitoring Recommendations
- Enable verbose access logging on the CRM web tier and forward logs to a centralized analytics platform for query inspection.
- Monitor database audit logs for query patterns containing tautologies (OR 1=1), boolean-based blind probes, or time-based delays such as SLEEP() and BENCHMARK().
- Track outbound network activity from the database host to identify potential exfiltration channels following successful injection.
How to Mitigate CVE-2026-86170
Immediate Actions Required
- Restrict network access to the CRM interface using firewall rules, VPN gating, or IP allowlisting until a fix is applied.
- Rotate credentials for CRM application accounts and any database users reachable through the vulnerable endpoint.
- Review web and database logs for prior exploitation attempts against /modules/orders/edit.php.
Patch Information
At the time of publication, no vendor patch is referenced in the NVD entry. Track updates in the project issue tracker and the VulDB advisory for remediation guidance. Apply any released patch immediately once available.
Workarounds
- Place the affected application behind a web application firewall with SQL injection rules tuned for the ID parameter of /modules/orders/edit.php.
- Modify the vulnerable code path to use parameterized queries and cast ID to an integer before use.
- Reduce the privileges of the database account used by the CRM to the minimum required for normal operation, blocking DROP, ALTER, and cross-database access.
- Disable or remove the order-edit module if it is not required in the deployment.
# Example WAF rule sketch (ModSecurity) for the vulnerable endpoint
SecRule REQUEST_URI "@streq /modules/orders/edit.php" \
"id:1026861700,phase:2,deny,status:403,\
chain,msg:'CVE-2026-86170 SQLi attempt on ID parameter'"
SecRule ARGS:ID "@rx (?i)(union(\s|/\*)+select|('|\"|--|;)|sleep\s*\(|benchmark\s*\()" \
"t:none,t:urlDecodeUni"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

