CVE-2026-4778 SourceCodester Sales and Inventory System HTTP GET Parameter update_category.php sql injection

Medium 5.3 Published Updated

Remote attackers can exploit SQL injection in update_category.php to read or modify database contents in SourceCodester Sales and Inventory System.

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

What is CVE-2026-4778?

CVE-2026-4778 is a medium-severity SQL injection vulnerability in SourceCodester Sales and Inventory System, published on 24 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A weakness has been identified in SourceCodester Sales and Inventory System 1.0. This vulnerability affects unknown code of the file update_category.php of the component HTTP GET Parameter Handler. This manipulation of the argument sid causes sql injection. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be used for attacks.

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2026-4778?

It affects 1 product.

Products include Ahsanriaz26gmailcom Sales and Inventory System.

How do I fix CVE-2026-4778?

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

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

Sources

Also known as GHSA-fmg2-6qx8-qwc3.

Is CVE-2026-4778 in your software?

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

Check your SBOMs for free