CVE-2026-132780
Description
Improper logging in the Login As REST endpoint (POST /api/v1/users/loginas, UserResource) in dotCMS versions before 26.11.18-01 causes several refused Login As requests, such as a request with no target user, a request to log in as oneself, or a request with a missing or wrong password for an administrator target, to write a security-log entry stating that the caller successfully logged in as the target user, directly after the error entry for the same request. A back-end user who holds the Login As role can use this to fill the security log with false impersonation records, which can mislead monitoring and incident response. In addition, a refused Login As request sent while the user is already impersonating another user cleared the stored original identity, so Logout As no longer worked and the session had to be ended. No privileges are gained: the session identity does not change on a refused request. Fixed in 26.11.18-01 and later. The success entry is now written only after a Login As completes, every refusal returns before it, and a refused or failed request restores the session state it found, so an active Login As can still be ended with Logout As.
Is your site exposed to CVE-2026-132780?
Run a free security scan — no signup, results in seconds.
Weakness Type (CWE)
References
Frequently Asked Questions
What is CVE-2026-132780? +
How do I check if I'm vulnerable to CVE-2026-132780? +
Related Vulnerabilities
Affected versions of MISP can record incorrect access-log data for requests that terminate in an exception. Because CakeErrorController extends AppController, …
Affected versions of MISP’s interactive CLI shell do not reliably preserve the identity of the impersonated MISP user across audit …
matrix-rust-sdk is an implementation of a Matrix client-server library in Rust. Versions of the matrix-sdk-crypto Rust crate before 0.8.0 lack …
In scan.rs in spytrap-adb before 0.3.5, matches for known stalkerware are not rendered in the interactive user interface.