CVE-2018-6188: Django AuthenticationForm Data Exposure

django Updated 02 Oct 2025

Summary

03/10/2018
Yes i
High
7.5

CVE-2018-6188: Django vulnerable to information leakage in AuthenticationForm. Affects django across 2 version ranges.

>= 1.11.8, < 1.11.10 >= 2.0a1, < 2.0.2

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

Also tracked for

The same CVE-2018-6188 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Django is a popular Python web framework that provides a set of tools and libraries for building web applications. It includes the django.contrib.auth module, which handles user authentication and authorization. The AuthenticationForm class in Django versions 2.0 before 2.0.2, and 1.11.8 and 1.11.9, is affected by a vulnerability that allows remote attackers to obtain potentially sensitive information. This vulnerability arises from data exposure in the confirm_login_allowed() method, which can be exploited to determine whether a user account is inactive.

Vulnerability Detail

The vulnerability in Django's AuthenticationForm class allows remote attackers to gain access to potentially sensitive information. By leveraging the data exposure in the confirm_login_allowed() method, an attacker can determine whether a user account is inactive. This information can be used to identify valid user accounts and potentially launch further attacks. The vulnerability has a CVSS score of 7.5, indicating a high severity level.

How To Fix

Latest published version: 6.1.2 as of 22 Oct 2026

pip install --upgrade "django==6.1.2"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

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

  • >= 1.11.8, < 1.11.10 1.11.10
    pip install --upgrade "django==1.11.10"
  • >= 2.0a1, < 2.0.2 2.0.2
    pip install --upgrade "django==2.0.2"

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 specific workaround provided for this vulnerability. It is recommended to apply the fix by upgrading to the patched versions of Django.

Conclusion

The vulnerability in Django's AuthenticationForm class exposes potentially sensitive information and can be exploited by remote attackers. It is crucial to upgrade to the patched versions of Django (2.0.2 or later for Django 2.0, and 1.11.10 or later for Django 1.11) to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for django →

Share this vulnerability

FAQ

The vulnerability allows remote attackers to obtain potentially sensitive information, which can be used to identify valid user accounts and potentially launch further attacks.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock file to the playground and it will alert you in real-time for any open-source vulnerabilities, including this one.

Yes, the fix for this vulnerability is to upgrade Django to version 2.0.2 or later (for Django 2.0) or version 1.11.10 or later (for Django 1.11). These versions contain the necessary patches to address the data exposure issue.

No specific workarounds are provided for this vulnerability. It is recommended to apply the fix by upgrading to the patched versions of Django.

Related vulnerabilities

Recent vulnerabilities recorded for django.

How To Fix

Latest published version: 6.1.2 as of 22 Oct 2026

pip install --upgrade "django==6.1.2"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

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

  • >= 1.11.8, < 1.11.10 1.11.10
    pip install --upgrade "django==1.11.10"
  • >= 2.0a1, < 2.0.2 2.0.2
    pip install --upgrade "django==2.0.2"

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