CVE-2025-30058 SQL injection in getPatientIdentifier function of PatientService.pl

Medium 6.9 Published Updated

An attacker can exploit SQL injection in the PatientService.pl getPatientIdentifier function to access or modify patient data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-30058?

CVE-2025-30058 is a medium-severity SQL injection vulnerability in CGM CLININET, published on 27 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the PatientService.pl service, the "getPatientIdentifier" function is vulnerable to SQL injection through the "pesel" parameter.

Weakness: CWE-89

Which versions are affected by CVE-2025-30058?

How do I fix CVE-2025-30058?

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

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

Sources

Also known as GHSA-3rj9-ppgw-ffcc.

Is CVE-2025-30058 in your software?

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

Check your SBOMs for free