Auth bypass in Backdropcms Masquerade

CVE-2025-27822

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.

Vulnerability class: Broken Access Control

EPSS: 0.003 (19.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-27822?
CVE-2025-27822 is a high-severity vulnerability in Backdropcms Masquerade, classified under Incorrect Authorization. CVSS score: 7.5/10. Published 2025-03-07.
How severe is CVE-2025-27822?
High severity. CVSS v3 base score is 7.5 out of 10.