CVE-2026-2158 code-projects Student Web Portal check_user.php sql injection

Medium 6.9 Published Updated

Remote attackers can exploit SQL injection in the login form to read or modify database contents in the Student Web Portal.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-2158?

CVE-2026-2158 is a medium-severity SQL injection vulnerability in code-projects Student Web Portal, published on 8 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was detected in code-projects Student Web Portal 1.0. This impacts an unknown function of the file /check_user.php. Performing a manipulation of the argument Username results in sql injection. It is possible to initiate the attack remotely.

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2026-2158?

It affects 1 product.

Products include Carmelo Student Web Portal.

How do I fix CVE-2026-2158?

No fix has been published for CVE-2026-2158 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-2158 being exploited?

There is no known exploitation of CVE-2026-2158 in the wild and no public exploit code.

Sources

Also known as GHSA-8q42-rp7q-f493.

Is CVE-2026-2158 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free