Skip to main content

PHP CVE-2026-37340

| EUVDEUVD-2026-23254 CRITICAL
SQL Injection (CWE-89)
2026-04-16 cve@mitre.org GHSA-mp4c-mj8p-8mjm
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access /music/edit_music.php
  2. Delivery
    Inject SQL payload in music parameter
  3. Exploit
    Extract database credentials and user data
  4. Execution
    Modify application data or execute database commands
  5. Impact
    Full database compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Unauthenticated remote exploitation against default configurations of SourceCodester Simple Music Cloud Community System v1.0. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms no authentication, user interaction, or special configuration is required. The only prerequisite is network accessibility to the /music/edit_music.php endpoint, which would be publicly exposed in standard deployments of this community-facing music sharing platform. Exploitation requires the vulnerable application to be deployed and accessible (web server running, PHP interpreter enabled, database connection active), but these are baseline operational requirements, not special conditions. The attack surface is constrained only by network reachability: applications behind corporate firewalls or on private networks are unexploitable from the internet, though remain vulnerable to authenticated internal users or lateral movement scenarios. No specific database configuration, PHP version, or application feature toggle limits exploitation.

Impact

This vulnerability presents a critical severity paradox requiring careful contextual assessment. The CVSS 9.8 score accurately reflects the technical severity: network-based attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and high impact across confidentiality, integrity, and availability. However, EPSS exploitation probability of 0.01% (2nd percentile) indicates extremely low real-world targeting, likely because Simple Music Cloud Community System is a niche open-source project with limited deployment footprint. The availability of public POC code on GitHub elevates risk for any exposed instances, as attackers can weaponize the exploit with minimal effort. SSVC framework assessment: exploitation status is POC-available, automatable is yes (unauthenticated SQLi enables automated scanning), technical impact is total (database compromise). Priority depends entirely on deployment context: organizations running this specific application face immediate critical risk requiring emergency patching; for threat intelligence purposes, this represents low-priority noise given minimal exploit activity. The risk calculation fundamentally differs between 'do I run this software?' versus 'should I prioritize hunting for this in my environment?'

Exploit ScenarioDerived

An unauthenticated remote attacker discovers an internet-facing instance of Simple Music Cloud Community System v1.0 through automated scanning or Shodan searches. Using the publicly available POC from GitHub (SQL-5.md), the attacker crafts a malicious HTTP request to /music/edit_music.php containing SQL injection payloads in the music editing parameters, such as manipulating a music ID parameter with UNION-based injection. The vulnerable PHP code concatenates this input directly into a SQL query without sanitization, allowing the attacker to execute arbitrary SQL commands including extracting the entire user database with password hashes, modifying music entries to inject malicious content, dropping database tables to cause service disruption, or executing operating system commands if the database user has FILE or shell privileges. The attack requires only basic web security knowledge and HTTP request tools like curl or Burp Suite, with no authentication bypass needed.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 18, 2026

SQL injection in SourceCodester Simple Music Cloud Community System v1.0's /music/edit_music.php endpoint allows unauthenticated remote attackers to execute arbitrary SQL commands with full database access. The vulnerability carries a critical CVSS 9.8 score with network-accessible, low-complexity exploitation requiring no privileges or user interaction. EPSS probability is notably low at 0.01% (2nd percentile), suggesting limited real-world exploitation interest despite the critical severity rating. Proof-of-concept code is publicly available via GitHub, lowering the barrier for opportunistic attacks against exposed instances.

RemediationAI

No official vendor patch or security advisory has been identified for this vulnerability at the time of analysis. The affected product appears to be an open-source project on SourceCodester with uncertain maintenance status. Organizations running Simple Music Cloud Community System v1.0 should immediately implement the following mitigations in priority order: First, if this is a non-production or test system, take it offline until a fix is available. Second, implement web application firewall (WAF) rules to filter SQL injection patterns targeting /music/edit_music.php, specifically blocking requests containing SQL metacharacters (quotes, semicolons, UNION, SELECT keywords) in music editing parameters, though sophisticated attackers can bypass signature-based filters. Third, restrict network access to the application to trusted IP ranges only using firewall rules or .htaccess IP whitelisting, which prevents internet-wide exploitation but impacts legitimate remote users. Fourth, review application logs for suspicious activity patterns in edit_music.php requests showing SQL syntax or UNION-based injection attempts. Fifth, if source code access is available, manually patch the vulnerability by converting all SQL queries in edit_music.php to use parameterized prepared statements (mysqli_prepare/PDO prepared statements in PHP), which requires development expertise and testing. Monitor the SourceCodester repository and security mailing lists for official patches. The side effect of WAF filtering may cause false positives blocking legitimate music titles containing quotes or special characters; IP restrictions eliminate remote access functionality; manual code patching may introduce application instability without proper testing.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a classic SQL injection vulnerability (CWE-89) in a PHP-based web application. The edit_music.php script fails to properly sanitize or parameterize user-supplied input before incorporating it into SQL queries, allowing attackers to inject malicious SQL syntax. SQL injection occurs when application code concatenates untrusted input directly into SQL statements rather than using prepared statements or parameterized queries. The affected product is a community music sharing platform written in PHP, likely using MySQL/MariaDB as the backend database given the technology stack. The vulnerability exists in the music editing functionality, suggesting improper validation of music metadata fields or music ID parameters passed to the edit interface. Given the CVSS confidentiality, integrity, and availability impacts all rated High, successful exploitation grants complete control over the database tier.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Apr 18, 2026 - 03:22 NVD
9.8 (CRITICAL)
CVE Published
Apr 16, 2026 - 15:17 nvd
CRITICAL 9.8

DescriptionCVE.org

SourceCodester Simple Music Cloud Community System v1.0 is vulnerable to SQL Injection in the file /music/edit_music.php.

Executive ViewAI

Why It Matters

SourceCodester Simple Music Cloud Community System v1.0 contains a critical SQL injection vulnerability in the /music/edit_music.php endpoint that allows unauthenticated attackers to gain full database access without authentication. Any organization running this application on internet-facing infrastructure faces immediate risk of data theft, modification, or destruction; this requires urgent remediation regardless of the application's current usage status.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to /music/edit_music.php via WAF rules or firewall rules blocking all traffic except trusted IPs; (2) Implement database-level input validation and parameterized queries if source code access is available; (3) Enable comprehensive SQL query logging and real-time alerting on unusual database activity; (4) Implement read-only database permissions for the application service account where operationally feasible; (5) Monitor CISA KEV and vendor advisory channels for patch release announcements. Note: compensating controls reduce but do not eliminate risk-patching or platform migration is the primary resolution path.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy