CVE-2025-50567 Code injection in n/a

Critical 10.0 Published Updated

Attackers can execute arbitrary PHP code via SQL injection in Saurus CMS due to unsafe use of the eval modifier in database preparation.

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-2025-50567?

CVE-2025-50567 is a critical code injection vulnerability in n/a, published on 19 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Saurus CMS Community Edition 4.7.1 contains a vulnerability in the custom DB::prepare() function, which uses preg_replace() with the deprecated /e (eval) modifier to interpolate SQL query parameters. This leads to injection of user-controlled SQL statements, potentially leading to arbitrary PHP code execution.

Weakness: CWE-94, CWE-89

Which versions are affected by CVE-2025-50567?

How do I fix CVE-2025-50567?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-50567 being exploited?

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

Sources

Also known as GHSA-89c8-63q9-h76j.

Is CVE-2025-50567 in your software?

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

Check your SBOMs for free