CVE-2025-7907 yangzongzhuan RuoYi Druid application-druid.yml default credentials

Medium 5.3 Published Updated

Attackers can access the Druid monitoring console using default credentials in the configuration file, bypassing authentication.

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

CVE-2025-7907 is a medium-severity vulnerability in Ruoyi Ruoyi, published on 20 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in yangzongzhuan RuoYi up to 4.8.1. It has been classified as problematic. Affected is an unknown function of the file ruoyi-admin/src/main/resources/application-druid.yml of the component Druid. The manipulation leads to use of default credentials. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-1392

Which versions are affected by CVE-2025-7907?

It affects 1 product.

Products include Ruoyi Ruoyi.

How do I fix CVE-2025-7907?

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

Is CVE-2025-7907 being exploited?

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

All Ruoyi Ruoyi vulnerabilities

Sources

Also known as GHSA-r3pp-w9mm-8fcc.

Is CVE-2025-7907 in your software?

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

Check your SBOMs for free