CVE-2026-2172 is a SQL injection flaw in code-projects Online Application System for Admission 1.0, scored 7.3 (High) in the CVE record. The weak spot is the login endpoint. The record lists no fixed version, so take the app off public networks, and if you maintain the code, replace string built queries with prepared statements.
What's affected
- Product: code-projects Online Application System for Admission
- Affected version: 1.0
- Location:
/enrollment/index.php(Login Endpoint) - Input at issue: the login endpoint
- Fixed version: none listed in the record
The record says the exploit has been disclosed publicly. It does not say the flaw is being used in attacks, and the CVE is not in the CISA Known Exploited Vulnerabilities catalog.
Check the project page or vendor site for a newer release.
How to check if you're exposed
Inventory comes first. Small PHP apps get copied to shared hosts and test machines, and nobody writes them down.
find /var/www /srv /opt /home -path "*/enrollment/index.php" 2>/dev/null
If the file turns up, confirm the app is version 1.0 and whether the web server answers from outside your network. Then open that file and read how it builds its database query. If the request value is joined into the SQL text instead of passed as a bound parameter, the weakness is present.
What to do now
- Find every copy of the app, including staging and backup hosts.
- If it faces the internet, take it offline or put it behind a VPN or an allow list of known addresses now.
- Check the project page for a patched release. If none exists, plan to retire the app or fix the query yourself.
- If you keep it, change the affected query to use prepared statements with bound parameters, and give the database account only the rights the app needs.
- Review web server and database logs for odd requests to the affected page.
Why it matters
This is the old and well understood weakness CWE-89, listed alongside CWE-74. Input reaches the database without being kept apart from the command, and the CVSS vector reflects a remote attack that needs no privileges and no user action.
With no fixed release listed, the dependable controls are network limits, a query fix and monitoring. None of them need a vendor.
Quick check
Is there a patch for this?
The record lists no fixed version. Check the project page or vendor site, and until you find one, limit network access to the app.
Does a dependency scan find this?
No. The flaw is in the app's own PHP code, not in a library. Code review or a static code scan finds this kind of issue, and the dependency scan covers the packages around it.
Sources
The VulDB page listed in the record did not return readable content when checked, so the details here come from the CVE record itself.
Last reviewed: 19 October 2026.