Skip to content
Threat Feed
high advisory

SQL Injection in code-projects Content Management System

A SQL injection vulnerability in the user_name parameter of the login.php file in code-projects Content Management System 1.0 allows for remote, unauthenticated command execution.

CVE search metadata

CVE search record: CVE-2026-86168. Severity: high. CVSS: 7.3. KEV: no. Product: Content Management System (1.0). Brief: SQL Injection in code-projects Content Management System. Brief link: https://feed.craftedsignal.io/briefs/2026-09-cve-2026-86168/

A critical SQL injection vulnerability, identified as CVE-2026-86168, affects version 1.0 of the code-projects Content Management System. The vulnerability resides within the user_name argument in the /login.php endpoint, which fails to adequately sanitize user-supplied input before incorporating it into database queries. An attacker can exploit this flaw remotely without authentication to execute arbitrary SQL commands, potentially leading to unauthorized data access, modification, or administrative privilege escalation. Proof-of-concept exploit code is currently available in the public domain, increasing the likelihood of opportunistic exploitation against vulnerable instances. Organizations running this specific CMS version are at high risk of compromise and should prioritize remediation efforts to prevent potential exfiltration of database contents.

Attack Chain

  1. Attacker conducts reconnaissance to identify targets running code-projects Content Management System 1.0.
  2. Attacker crafts an HTTP POST request targeting the /login.php endpoint.
  3. Attacker injects malicious SQL payloads into the user_name parameter field.
  4. The web server passes the unsanitized input directly to the backend database query.
  5. The database executes the injected SQL commands, allowing the attacker to bypass authentication.
  6. The application returns the results of the injected queries in the HTTP response or confirms execution status.
  7. Attacker extracts data from the database or manipulates records to gain unauthorized administrative access.

Impact

Successful exploitation of this vulnerability allows for unauthorized access to the application's underlying database. This may result in full database exfiltration, including user credentials, configuration data, and sensitive application content. As this is a public-facing remote vulnerability, any organization hosting version 1.0 of this CMS is susceptible to potential data breach and site compromise.

Recommendation

  1. Immediately restrict access to the /login.php endpoint for code-projects Content Management System 1.0 until a patch is applied.
  2. Deploy Web Application Firewall (WAF) signatures to detect and block common SQL injection patterns targeting the user_name parameter.
  3. Monitor web server access logs for anomalous HTTP POST requests to /login.php containing SQL syntax characters (e.g., ', --, UNION, SELECT, OR 1=1).
  4. Upgrade the application to a secure version if available; otherwise, implement input validation logic to sanitize the user_name parameter on the server side.

Immediate actions

Deploy WAF rule to block SQL injection payloads directed at /login.php

SOC 24h

Threat Hunt

Search logs for 404 or 500 status codes accompanying POST requests to /login.php following successful or unsuccessful exploitation

T1190 medium medium confidence hunt now

Data: Web server logs

Mitigations

Patch or upgrade code-projects Content Management System

immediate IT Operations

CVE-2026-86168

Detection coverage 1

Detects CVE-2026-86168 Exploitation - SQL Injection in login.php

high

Detects potential SQL injection attempts targeting the user_name parameter in /login.php

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →