CVE-2026-5840 PHPGurukul News Portal Project check_availability.php sql injection

Medium 5.1 Published Updated

Remote attackers can exploit SQL injection in the admin check_availability.php script via the Username parameter to read or modify database contents.

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

What is CVE-2026-5840?

CVE-2026-5840 is a medium-severity SQL injection vulnerability in PHPGurukul News Portal Project, published on 9 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A security flaw has been discovered in PHPGurukul News Portal Project 4.1. Impacted is an unknown function of the file /admin/check_availability.php. Performing a manipulation of the argument Username results in sql injection. Remote exploitation of the attack is possible. The exploit has been released to the public and may be used for attacks.

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2026-5840?

How do I fix CVE-2026-5840?

No fix has been published for CVE-2026-5840 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-5840 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5840 exists.

Sources

Also known as GHSA-3pxp-646h-v7m3.

Is CVE-2026-5840 in your software?

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

Check your SBOMs for free