The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-5811

CVE-2026-5811: Food Ordering System Logic Error Flaw

CVE-2026-5811 is a business logic error in SourceCodester Online Food Ordering System 1.0 affecting the save_product function. Attackers can manipulate price parameters remotely. This article covers technical details, impact, and mitigations.

Published: April 10, 2026

CVE-2026-5811 Overview

A business logic vulnerability has been identified in SourceCodester Online Food Ordering System version 1.0. The vulnerability exists in the save_product function within the /Actions.php file, which is part of the POST Parameter Handler component. Improper validation of the price argument allows attackers to manipulate product pricing through negative values, leading to significant business logic errors that can be exploited for financial fraud.

Critical Impact

Attackers can remotely exploit this vulnerability to manipulate product prices, potentially setting negative values that could result in financial losses, inventory manipulation, or unauthorized credits during checkout processes.

Affected Products

  • SourceCodester Online Food Ordering System 1.0
  • POST Parameter Handler component (/Actions.php)
  • save_product function

Discovery Timeline

  • 2026-04-08 - CVE-2026-5811 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-5811

Vulnerability Analysis

This vulnerability represents a classic business logic flaw (CWE-840) where the application fails to properly validate business-critical input parameters. The save_product function in /Actions.php accepts the price parameter without enforcing proper business rules, allowing authenticated users to submit negative or otherwise invalid price values.

The vulnerability is particularly concerning because it affects a core business function—product pricing—in an e-commerce application. When exploited, attackers can create products with negative prices, which could result in credits being applied to customer accounts during checkout, effectively stealing money from the business.

Root Cause

The root cause of this vulnerability is insufficient input validation in the save_product function. The application fails to implement proper business logic constraints that would prevent:

  • Negative price values
  • Zero-value prices for non-free items
  • Prices outside acceptable business ranges

The developer relied solely on client-side validation or omitted price validation entirely, assuming that only legitimate positive values would be submitted through the normal user interface.

Attack Vector

The attack is network-based and can be performed remotely by any authenticated user with access to product management functionality. An attacker would:

  1. Authenticate to the Online Food Ordering System with valid credentials
  2. Intercept or craft a POST request to /Actions.php targeting the save_product function
  3. Modify the price parameter to include a negative value
  4. Submit the malicious request, bypassing any client-side validation
  5. The server processes the request without proper validation, storing the invalid price

The vulnerability requires low privileges (authenticated user access) and no user interaction, making it relatively straightforward to exploit. A proof-of-concept demonstrating this negative pricing attack is available in the GitHub PoC for Negative Pricing repository.

Detection Methods for CVE-2026-5811

Indicators of Compromise

  • Products in the database with negative or zero price values
  • Unusual transaction records showing credits instead of charges
  • POST requests to /Actions.php containing negative values in the price parameter
  • Abnormal order totals or refund patterns in financial logs

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block POST requests containing negative numeric values in price-related parameters
  • Deploy application-layer monitoring to flag any product modifications with prices below acceptable thresholds
  • Configure database integrity checks to alert on products with invalid pricing data
  • Enable detailed logging for all product management operations and review for anomalous patterns

Monitoring Recommendations

  • Monitor /Actions.php endpoint for unusual request patterns or parameter manipulation attempts
  • Set up alerts for products created or modified with prices outside normal business ranges
  • Review transaction logs regularly for orders with negative totals or unexpected credits
  • Implement real-time monitoring of product catalog changes with automated validation checks

How to Mitigate CVE-2026-5811

Immediate Actions Required

  • Audit all existing product records in the database for negative or zero prices and correct any anomalies
  • Implement server-side validation for the price parameter in the save_product function immediately
  • Review recent product modifications and transactions for signs of exploitation
  • Restrict access to product management functionality to trusted administrators only

Patch Information

As of the last NVD update on 2026-04-08, no official patch has been released by SourceCodester. Organizations using this software should implement the workarounds below and monitor SourceCodester Security Resources for security updates. Additional vulnerability details are available at VulDB Vulnerability #356259.

Workarounds

  • Add server-side validation in /Actions.php to reject price values that are negative, zero, or exceed reasonable maximum thresholds
  • Implement database-level constraints to prevent negative values in price columns
  • Deploy a WAF rule to filter POST requests to /Actions.php that contain negative numeric values
  • Consider implementing a review/approval workflow for product price changes

The following example demonstrates implementing basic price validation in the affected PHP file:

php
# Server-side price validation for save_product function
# Add to /Actions.php before processing the price parameter

$price = floatval($_POST['price']);

# Validate price is positive and within reasonable bounds
if ($price <= 0 || $price > 99999.99) {
    die(json_encode(['error' => 'Invalid price value']));
}

# Additional sanitization before database insertion
$price = number_format($price, 2, '.', '');

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeOther

  • Vendor/TechSourcecodester Online Food Ordering System

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-840
  • Technical References
  • GitHub PoC for Negative Pricing

  • VulDB Submission #787678

  • VulDB Vulnerability #356259

  • VulDB CTI for #356259

  • SourceCodester Security Resources
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English