CVE-2026-30575: Input · Improper Validation of Specified Quantity
Source CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% 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:N/A:HExploitation 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-30575, organizations should implement strict input validation on the 'txtqty' parameter to reject any negative values during stock entry. Business logic controls must enforce that stock quantities can only be positive or zero when adding inventory. Code review and testing should focus on all inventory-related functions to ensure no other parameters allow invalid values. If possible, restrict access to the add-stock.php endpoint to authorized personnel only, using authentication and network segmentation. Monitoring and alerting on unusual inventory adjustments, such as sudden large negative stock changes, can help detect exploitation attempts. Applying patches or updates from the vendor once available is critical. Additionally, consider implementing role-based access controls and audit logging to track inventory modifications. Training staff to recognize and report inventory anomalies can further reduce risk. Finally, conducting regular security assessments of the pharmacy management system will help identify and remediate similar logic flaws.
Description
A Business Logic vulnerability exists in SourceCodester Pharmacy Product Management System 1.0 in the add-stock.php file. The application fails to validate the "txtqty" parameter during stock entry, allowing negative values to be processed. This causes the system to decrease the inventory level instead of increasing it, leading to inventory corruption and potential Denial of Service by depleting stock records.