CVE-2025-54428 RevelaCode exposes Sensitive MongoDB Atlas URI in .env (potential credential leak)

Critical 9.8 Published Updated

Attackers can access production databases by using hardcoded MongoDB credentials exposed in the public repository, leading to data theft or modification.

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

CVE-2025-54428 is a critical vulnerability in musombi123 RevelaCode-Backend, published on 28 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

RevelaCode is an AI-powered faith-tech project that decodes biblical verses, prophecies and global events into accessible language. In versions below 1.0.1, a valid MongoDB Atlas URI with embedded username and password was accidentally committed to the public repository. This could allow unauthorized access to production or staging databases, potentially leading to data exfiltration, modification, or deletion. This is fixed in version 1.0.1. Workarounds include: immediately rotating credentials for the exposed database user, using a secret manager (like Vault, Doppler, AWS Secrets Manager, etc.) instead of storing secrets directly in code, or auditing recent access logs for suspicious activity.

Weakness: CWE-522

Which versions are affected by CVE-2025-54428?

How do I fix CVE-2025-54428?

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

Is CVE-2025-54428 being exploited?

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

Sources

Also known as GHSA-m253-qvcr-cr48.

Is CVE-2025-54428 in your software?

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

Check your SBOMs for free