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

Source: https://junglewise.ai/threats/cve-2026-10694-sourcecodester-online-food-ordering-system-local-file-inclusion  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-03. Updated: 2026-06-03  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/online-food-ordering-system). Vendors: [SourceCodester](https://junglewise.ai/threats/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

- [https://github.com/Mikkoseven/cve/issues/4](https://github.com/Mikkoseven/cve/issues/4)
- [https://vuldb.com/cve/CVE-2026-10694](https://vuldb.com/cve/CVE-2026-10694)
- [https://vuldb.com/submit/830903](https://vuldb.com/submit/830903)
- [https://vuldb.com/vuln/367963](https://vuldb.com/vuln/367963)
- [https://vuldb.com/vuln/367963/cti](https://vuldb.com/vuln/367963/cti)
- [https://www.sourcecodester.com/](https://www.sourcecodester.com/)

## Related threats

- [SourceCodester Online Food Ordering System client-side price enforcement](https://junglewise.ai/threats/cve-2026-116605-a-vulnerability-was-found-in-sourcecodester-online-food-ordering)
- [SourceCodester Online Food Ordering System missing authentication in admin delete endpoints](https://junglewise.ai/threats/cve-2026-116604-a-vulnerability-has-been-found-in-sourcecodester-online-food)
- [SourceCodester Online Food Ordering System unrestricted file upload in add_food.php](https://junglewise.ai/threats/cve-2026-116603-a-flaw-has-been-found-in-sourcecodester-online-food-ordering)
- [SourceCodester Online Food Ordering System path traversal in delete.php](https://junglewise.ai/threats/cve-2026-116602-a-vulnerability-was-detected-in-sourcecodester-online-food)
- [SourceCodester Online Food Ordering System stored XSS in category image upload](https://junglewise.ai/threats/cve-2026-92385-sourcecodester-online-food-ordering-system-stored-xss-in-category)
