CVE-2026-120112: Passwords set through the user REST API stored unhashed
Plaintext storage of a password in the user REST API (PUT /api/v1/users and POST /api/v1/users, also used by the Users (Beta) portlet) in dotCMS through 26.10.29-01 (PUT since 24.05.20): a password that an administrator sets through these endpoints is not checked against the configured password policy and is stored unhashed in the database until the user next logs in, and indefinitely for users who never log in again. When password reuse tracking is enabled, the plaintext can also be written to the password history. Anyone with read access to the database or its backups can recover these passwords. Only administrators can set passwords through these endpoints. Fixed in 26.11.02-01 and later: these endpoints now apply the password policy and hash the password on write.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.11.02-01 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.07.10 LTS v26
Event History
Frequently Asked Questions
Who can trigger the vulnerable password write path?
Only administrators can set passwords through the affected REST API endpoints or the Users (Beta) portlet. Exploitation also requires read access to the dotCMS database or its backups to recover the stored plaintext passwords.
Which deployments and workflows are affected?
dotCMS through 26.10.29-01 is affected for password creation through POST /api/v1/users and password updates through PUT /api/v1/users. The PUT endpoint has been affected since 24.05.20, and the Users (Beta) portlet uses these endpoints.
What happens to passwords written through the affected endpoints?
They are not checked against the configured password policy and are stored unhashed until the user next logs in. For users who never log in again, the plaintext remains stored indefinitely; when password reuse tracking is enabled, it can also be written to password history.
What should be done if affected passwords may already have been set?
Passwords set through the affected endpoints should be treated as recoverable by anyone with database or backup read access, particularly for accounts that have not logged in since the password was set. Update to 26.11.02-01 or later, where the endpoints enforce password policy and hash passwords on write.