CVE-2025-52924 SQL injection in OneLogin

Medium 4.0 Published Updated

Attackers can inject SQL commands via the X-RequestId header, potentially reading or modifying database contents in One Identity OneLogin.

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-52924?

CVE-2025-52924 is a medium-severity SQL injection vulnerability in OneLogin, published on 19 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In One Identity OneLogin before 2025.2.0, the SQL connection "application name" is set based on the value of an untrusted X-RequestId HTTP request header.

Weakness: CWE-89

Which versions are affected by CVE-2025-52924?

How do I fix CVE-2025-52924?

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

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

Sources

Also known as GHSA-3gwr-hghm-q2cx.

Is CVE-2025-52924 in your software?

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

Check your SBOMs for free