CVE-2026-10694: SourceCodester Online Food Ordering System local file inclusion in index.php

CVE-2026-10694 · Severity: high · CVSS 7.3 · Published 2026-06-03

A vulnerability exists in the SourceCodester Online Food Ordering System, a web application used for managing food orders. An attacker can remotely access sensitive server files, including database configuration files and credentials, by manipulating web addresses. This could lead to a full compromise of the system's data and unauthorized access to the underlying server.

Technologies: SourceCodester Online Food Ordering System. Vendors: SourceCodester.

Quick answers

Is CVE-2026-10694 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-10694 being exploited in the wild.
How severe is CVE-2026-10694?
High severity, with a CVSS score of 7.3, published 3 June 2026.
Which products and versions are affected?
SourceCodester Online Food Ordering System 2.0.
Is there a fix for CVE-2026-10694?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-10694 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-10694?
Check whether you run SourceCodester Online Food Ordering System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A Local File Inclusion (LFI) vulnerability exists in SourceCodester Online Food Ordering System 2.0 within the 'page' GET parameter of /index.php and /admin/index.php. The application passes user-supplied input directly to a PHP include() statement without proper sanitization or path validation. A remote, unauthenticated attacker can exploit this by using directory traversal sequences or PHP stream wrappers (e.g., php://filter) to disclose sensitive source code, such as database connection strings (db_connect.php), or potentially achieve remote code execution. A public exploit (PoC) is available. Mitigation involves implementing a whitelist for the 'page' parameter and using the basename() function to strip path components.

Affected products

  • SourceCodester Online Food Ordering System 2.0

Timeline

  • 2026-05-15: disclosed: Vulnerability details and PoC shared on GitHub.
  • 2026-06-03: advisory: CVE published by VulDB/NVD.

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.