Live threats

All CVEs / Djangoproject

CVE-2018-6188Djangoproject Django

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
4.8%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Feb 5, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 2.0a1 < 2.0.2 2.0.2 pip install "django>=2.0.2"
PyPI django ≥ 1.11.8 < 1.11.10 1.11.10 pip install "django>=1.11.10"
PyPI django ≥ 2.0 < 2.0.2 2.0.2 pip install "django>=2.0.2"

Per OSV / GitHub Advisories (GHSA-rf4j-j272-fj86, PYSEC-2018-4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango1.11.8
djangoprojectdjango1.11.9
djangoprojectdjango2.0
djangoprojectdjango2.0.1
canonicalubuntu_linux17.10

Official advisories

Also: SUSE (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.