CVE-2026-30574: SourceCodester Pharmacy Product Management System · Improper Enforcement of Behavioral Workflow
Source CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate CVE-2026-30574, organizations should implement strict validation of sales quantities against current stock levels within the application logic. This includes adding server-side checks in add-sales.php to reject any sales requests where the requested quantity exceeds available inventory. Input validation should be enforced both client-side and server-side to prevent manipulation. Conduct thorough code reviews focusing on business logic enforcement and implement automated tests to verify correct behavior under edge cases. Restrict access to the sales interface to authenticated and authorized users only, minimizing exposure to unauthorized attackers. Monitor sales transactions for anomalies such as unusually large orders or repeated attempts to exceed stock. Regularly audit inventory and sales records to detect discrepancies early. If possible, apply patches or updates from the vendor once available. Additionally, consider implementing rate limiting and logging to detect and respond to suspicious activities. Training staff on the importance of accurate data entry and awareness of potential manipulation attempts can further reduce risk.
Description
A Business Logic vulnerability exists in SourceCodester Pharmacy Product Management System 1.0 in the add-sales.php file. The application fails to verify if the requested sales quantity (txtqty) exceeds the available stock level. An attacker can manipulate the request to purchase a quantity that is significantly higher than the actual available stock.