CVE-2019-10641: Contao Does Not Invalidate Existing Sessions When Password Changes

contao/contao Updated 02 Oct 2025

Summary

14/05/2022
Yes i
Critical
9.8

CVE-2019-10641: Contao Does Not Invalidate Existing Sessions When Password Changes. Affects contao/contao across 2 version ranges.

>= 4.0.0, < 4.4.37 >= 4.5.0, < 4.7.3

Fixed in 4.4.37 or 4.7.3, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Contao is an open-source content management system (CMS) that allows users to create and manage websites. It provides various features such as user authentication, backend and frontend editing, and session management. However, a vulnerability has been discovered in Contao where existing sessions are not correctly invalidated when a user changes their password in the backend or frontend. This can lead to unauthorized access and potential compromise of user accounts.

Vulnerability Detail

The vulnerability in Contao arises from the failure to invalidate existing sessions when a user changes their password. This means that even after changing their password, an attacker with access to a valid session can continue to access the system using the old session. This can result in unauthorized actions being performed on behalf of the user, such as modifying content, accessing sensitive information, or impersonating the user. The vulnerability has a CVSS score of 9.8, indicating its critical severity.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.0.0, < 4.4.37 4.4.37
    composer require contao/contao:4.4.37
  • >= 4.5.0, < 4.7.3 4.7.3
    composer require contao/contao:4.7.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update to the fixed versions of Contao to mitigate the risk.

Conclusion

The vulnerability in Contao that allows existing sessions to remain valid after a password change poses a significant security risk. It is crucial for users of Contao to update to the fixed versions and follow the recommended upgrade instructions to ensure the security of their installations. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for contao/contao →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your Contao installation is affected by this vulnerability. Simply upload your composer.lock file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

No, this vulnerability requires an attacker to have access to a valid session in order to exploit it. However, if an attacker gains access to a valid session, they can continue to exploit the vulnerability remotely.

No, only versions 4.0.0 to 4.4.37 and 4.5.0 to 4.7.3 of Contao are affected by this vulnerability. It is recommended to update to the fixed versions to ensure the security of your installation.

The consequences of this vulnerability include unauthorized access to user accounts, potential data breaches, and unauthorized actions performed on behalf of users. It is crucial to address this vulnerability promptly to protect user data and maintain the integrity of the system.

There is no known evidence of this vulnerability being exploited in the wild. However, it is always recommended to apply security patches and updates as soon as they are available to mitigate the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for contao/contao.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 4.0.0, < 4.4.37 4.4.37
    composer require contao/contao:4.4.37
  • >= 4.5.0, < 4.7.3 4.7.3
    composer require contao/contao:4.7.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback