CVE-2025-27822 Privilege escalation in Masquerade

High 7.5 Published Updated

Non-administrative users with masquerade permissions can bypass restrictions to impersonate administrators in Backdrop CMS.

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

CVE-2025-27822 is a high-severity vulnerability in backdropcms Masquerade, published on 7 Mar 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in the Masquerade module before 1.x-1.0.1 for Backdrop CMS. It allows people to temporarily switch to another user account. The module provides a "Masquerade as admin" permission to restrict people (who can masquerade) from switching to an account with administrative privileges. This permission is not always honored and may allow non-administrative users to masquerade as an administrator. This vulnerability is mitigated by the fact that an attacker must have a role with the "Masquerade as user" permission.

Weakness: CWE-863

Which versions are affected by CVE-2025-27822?

How do I fix CVE-2025-27822?

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

Is CVE-2025-27822 being exploited?

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

Sources

Also known as GHSA-6h54-vm3j-p486.

Is CVE-2025-27822 in your software?

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

Check your SBOMs for free