CVE-2026-7391 — SourceCodester Pharmacy Sales And Inventory System SQL Injection

CVE-2026-7391 — SourceCodester Pharmacy Sales And Inventory System SQL Injection

CVE-2026-7391 — A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects the function save_supplier of the file /ajax.php?action=save_supplier. This manipulation of the argument ID causes sql injection. Remote exploitation of the attack is possible. The exploit h

What This Means For You

  • If your environment is affected by CWE-74, CWE-89, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-7391 updates and patches.

Related ATT&CK Techniques

🛡️ Detection Rules

3 rules · 6 SIEM formats

3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.

critical T1190 Initial Access

CVE-2026-7391 - SourceCodester Pharmacy SQL Injection via save_supplier

Sigma YAML — free preview
title: CVE-2026-7391 - SourceCodester Pharmacy SQL Injection via save_supplier
id: scw-2026-04-29-ai-1
status: experimental
level: critical
description: |
  Detects attempts to exploit CVE-2026-7391 by looking for the specific vulnerable file '/ajax.php' with the 'action=save_supplier' parameter and common SQL injection keywords within the query string. This targets the SQL injection vulnerability in the save_supplier function.
author: SCW Feed Engine (AI-generated)
date: 2026-04-29
references:
  - https://shimiscyberworld.com/posts/nvd-CVE-2026-7391/
tags:
  - attack.initial_access
  - attack.t1190
logsource:
    category: webserver
detection:
  selection:
      cs-uri-query|contains:
          - 'action=save_supplier'
      cs-uri-query|contains:
          - 'ID=' 
      cs-uri-query|contains:
          - ' OR ' 
      cs-uri-query|contains:
          - ' SELECT '
      cs-uri-query|contains:
          - ' FROM '
      condition: selection
falsepositives:
  - Legitimate administrative activity

Source: Shimi's Cyber World · License & reuse

✓ Sigma · Splunk SPL Sentinel KQL Elastic QRadar AQL Wazuh Get rules for your SIEM →

Indicators of Compromise

IDTypeIndicator
CVE-2026-7391 vulnerability CVE-2026-7391
CWE-74 weakness CWE-74
CWE-89 weakness CWE-89
Source & Attribution
Source PlatformNVD
ChannelNational Vulnerability Database
PublishedApril 29, 2026 at 20:16 UTC

This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.

Believe this infringes your rights? Submit a takedown request.

Related coverage

CVE-2026-7393 — SourceCodester Pizzafy Ecommerce System Unrestricted File Upload

CVE-2026-7393 — A vulnerability was found in SourceCodester Pizzafy Ecommerce System 1.0. Affected is the function save_menu of the file /admin/admin_class_novo.php of the component File...

vulnerabilityCVEmedium-severityunrestricted-file-uploadcwe-284cwe-434
/SCW Vulnerability Desk /MEDIUM /4.7 /⚑ 3 IOCs

CVE-2026-7392 — SourceCodester Pharmacy Sales And Inventory System SQL Injection

CVE-2026-7392 — A vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This impacts the function delete_supplier of the file /ajax.php?action=delete_supplier. Such...

vulnerabilityCVEmedium-severitysql-injectioncwe-74cwe-89
/SCW Vulnerability Desk /MEDIUM /6.3 /⚑ 3 IOCs /⚙ 3 Sigma

CVE-2026-6915 — An authorization flaw in the user management command could

CVE-2026-6915 — An authorization flaw in the user management command could allow an authenticated user to make limited changes to authentication-related data associated with another...

vulnerabilityCVEmedium-severitycwe-1284
/SCW Vulnerability Desk /MEDIUM /6.3 /⚑ 2 IOCs /⚙ 3 Sigma