Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2848+ Articles
167+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2026-90854: SQL Injection in SourceCodester Online Food Ordering System
CVE-2026-90854: SQL Injection in SourceCodester Online Food Ordering System
SECURITYHIGHCVE-2026-90854

CVE-2026-90854: SQL Injection in SourceCodester Online Food Ordering System

SourceCodester's Online Food Ordering System 1.0 is vulnerable to remote SQL injection via the ID parameter in category-foods.php; a public exploit exists.

Dylan H.

Security Team

September 15, 2026
3 min read

Affected Products

  • SourceCodester/katojkalemba Online Food Ordering System 1.0

Overview

A SQL injection vulnerability has been disclosed in SourceCodester/katojkalemba Online Food Ordering System 1.0, a PHP/MySQL restaurant ordering script distributed on SourceCodester. Tracked as CVE-2026-90854, the flaw lives in an unknown function of /web/category-foods.php, where the ID argument is passed into a SQL query without sanitization. The attack can be launched remotely without authentication, and a public exploit is already circulating.

The same codebase carries a closely related flaw, CVE-2026-90855, affecting the ID parameter in /web/order.php — administrators running this application should treat both as in scope for remediation.


Technical Details

FieldValue
CVE IDCVE-2026-90854
CWECWE-89 (SQL Injection)
SeverityHigh (CVSS 3.x 7.3)
Attack VectorNetwork
Privileges RequiredNone
Vulnerable File/web/category-foods.php
Vulnerable ParameterID
Exploit AvailabilityPublic exploit released
AssignerVulDB

How It Works

category-foods.php accepts an ID value — used to look up food items belonging to a given category — and concatenates it directly into a SQL statement instead of using a parameterized query or prepared statement. An attacker who submits a crafted ID value can alter the query's logic to read, and potentially modify, data far outside the intended category lookup, including tables that were never meant to be reachable from this endpoint.

Because the endpoint requires no authentication and the attack can be carried out with a single crafted HTTP request, exploitation requires no special access or user interaction.


Impact Assessment

Impact AreaDescription
Data ConfidentialityAttacker-controlled queries can extract arbitrary rows from the application database, including customer orders, account records, and admin credentials if stored in-band
Data IntegrityDepending on the underlying query and database permissions, UNION- or stacked-query-based injection could allow data modification
AvailabilityMalformed queries could degrade or crash the database backend under sustained abuse
Attack ComplexityLow — no authentication or user interaction required, and a public exploit already exists

This is a low-quality, template-style PHP application typically deployed by small businesses or as a learning project rather than an enterprise platform — but that also means it is frequently deployed with default configurations and rarely patched once put into production.


Mitigation

  • Apply a vendor patch or update if one becomes available. No fixed version was referenced in the disclosure at the time of writing — check the SourceCodester listing for the katojkalemba fork before continuing to run 1.0 in production.
  • Rewrite the vulnerable query using parameterized statements (e.g., PDO prepared statements) if you maintain a fork of this codebase in-house.
  • Do not expose this application to the public internet without a web application firewall in front of it capable of blocking SQL injection payloads.
  • Audit /web/order.php as well, given the related CVE-2026-90855 affects the same ID-parameter pattern.
  • Review database logs for anomalous category-foods.php requests containing SQL syntax (UNION, OR 1=1, comment sequences) to check for prior exploitation.
  • Consider migrating off unmaintained SourceCodester-distributed scripts for any deployment handling real customer or payment data.

References

  • NVD — CVE-2026-90854
  • VulDB — CVE-2026-90854
#CVE-2026-90854#SQL Injection#PHP#Web Application Security

Related Articles

Unauthenticated SQL Injection Hits SourceCodester Online Voting System

CVE-2026-86290: an unauthenticated SQL injection in SourceCodester's Online Voting System via ajax.php's Category parameter, PoC public.

3 min read

SQL Injection in SourceCodester Class & Exam Timetabling System

CVE-2026-86208: an unauthenticated SQL injection in delete_teacher.php lets remote attackers manipulate the ID parameter. Public exploit code exists.

4 min read

CVE-2026-5018: SQL Injection in code-projects Simple Food

A remotely exploitable SQL injection vulnerability exists in code-projects Simple Food Order System 1.0, where the Name parameter in register-router.php...

4 min read
Back to all Security Alerts