Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-30575: n/a

0
High
VulnerabilityCVE-2026-30575cvecve-2026-30575
Published: Fri Mar 27 2026 (03/27/2026, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/27/2026, 17:16:16 UTC

Technical Analysis

CVE-2026-30575 identifies a business logic vulnerability in the SourceCodester Pharmacy Product Management System version 1.0, located in the add-stock.php script. The vulnerability arises because the application fails to validate the 'txtqty' parameter during stock entry, allowing negative values to be processed. Instead of increasing inventory when adding stock, the system processes negative quantities by decreasing the inventory count. This flawed logic can be exploited by an attacker to artificially reduce or deplete inventory records, causing corruption of stock data. The consequence is a denial of service condition where the pharmacy's inventory system becomes unreliable or unusable due to inaccurate stock levels. This can disrupt supply chain management, order fulfillment, and overall pharmacy operations. The vulnerability does not require authentication or user interaction, making it easier to exploit if the add-stock.php endpoint is accessible. No CVSS score is assigned yet, and no patches or known exploits are reported at this time. The root cause is insufficient input validation and lack of business logic checks to prevent negative stock quantities, which is a critical oversight in inventory management systems. Organizations relying on this system should prioritize validation of input parameters and implement strict business rules to ensure stock quantities cannot be negative.

Potential Impact

The primary impact of CVE-2026-30575 is on the integrity and availability of inventory data within the affected pharmacy management system. By allowing negative stock entries, attackers can corrupt inventory records, leading to inaccurate stock levels that may cause operational disruptions. Pharmacies could face denial of service conditions where they cannot reliably track or fulfill medication orders, potentially affecting patient care and business continuity. Financial losses may occur due to inventory mismanagement, stockouts, or over-ordering. The vulnerability could also undermine trust in the system and require costly remediation efforts. Since no authentication is required, attackers with network access to the vulnerable endpoint can exploit this flaw easily, increasing the risk of widespread abuse. Although no known exploits are reported, the potential for automated attacks exists. The scope is limited to organizations using SourceCodester Pharmacy Product Management System 1.0 or similar vulnerable versions, but the impact on these entities can be significant.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-03-04T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 69c6b7823c064ed76fc77da7

Added to database: 3/27/2026, 4:59:46 PM

Last enriched: 3/27/2026, 5:16:16 PM

Last updated: 5/11/2026, 8:27:17 PM

Views: 64

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses