Skip to content
Heist/ feed
Back to feed
Critical

Inventory-Management-System-PHP - Unauthenticated SQL Injection in Login and Product Deletion

Type: advisorySources: OSV

Inventory-Management-System-PHP's login.php constructs its authentication query via direct string concatenation of raw POST parameters: = "select * from user where email = '' and password = ''", with no escaping or parameterization, allowing authentication bypass via a payload such as email=' OR 1=1 LIMIT 1-- -.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-71248
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:08 UTC · Revision 1

Source evidence

Inventory-Management-System-PHP - Unauthenticated SQL Injection in Login and Product Deletion

core-osv · Original source

Published 5 Aug 2026, 10:57 UTC

Inventory-Management-System-PHP's login.php constructs its authentication query via direct string concatenation of raw POST parameters: = "select * from user where email = '' and password = ''", with no escaping or parameterization, allowing authentication bypass via a payload such as email=' OR 1=1 LIMIT 1-- -.

osv:CVE-2026-71248
Complete source record
{
  "id": "bbca6567cebeade54c112a0f0b5cf4e1628db76b9cc07aa6092fbb7a3c0adaf5",
  "url": "https://osv.dev/vulnerability/CVE-2026-71248",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Inventory-Management-System-PHP - Unauthenticated SQL Injection in Login and Product Deletion",
    "summary": "Inventory-Management-System-PHP's login.php constructs its authentication query via direct string concatenation of raw POST parameters: = \"select * from user where email = '' and password = ''\", with no escaping or parameterization, allowing authentication bypass via a payload such as email=' OR 1=1 LIMIT 1-- -.",
    "evidence": "osv:CVE-2026-71248",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-71248",
      "aliases": [
        "CVE-2026-71248"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/harsh21patel/inventory-management-system-php",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71248.json"
          }
        }
      ],
      "modified": "2026-10-27T02:47:41.700465649Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71248.json",
        "https://github.com/Harsh21Patel/Inventory-Management-System-PHP",
        "https://github.com/Harsh21Patel/Inventory-Management-System-PHP/pull/3",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-71248"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-89"
        ],
        "cna_assigner": "TuranSec",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71248.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-71248",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 459874,
  "published_at": "2026-08-05T10:57:02.86+00:00"
}