Django security release issued: 2.1.2

Posted by Carlton Gibson on October 1, 2018

In accordance with our security release policy, the Django team is issuing Django 2.1.2. This release addresses the security issue detailed below. We encourage all users of Django to upgrade as soon as possible.

CVE-2018-16984: Password hash disclosure to "view only" admin users

If an admin user has the change permission to the user model, only part of the password hash is displayed in the change form. Admin users with the view (but not change) permission to the user model were displayed the entire hash. While it's typically infeasible to reverse a strong password hash, if your site uses weaker password hashing algorithms such as MD5 or SHA1, it could be a problem.

Thanks Phithon Gong for reporting this issue.

Affected versions

  • Django master development branch
  • Django 2.1


Patches to resolve the issue have been applied to Django's master branch and the 2.1 release branche. The patches may be obtained from the following changesets:

The following release has been issued:

The PGP key ID used for these releases is Carlton Gibson: E17DF5C82B4F9D00.

General notes regarding security reporting

As always, we ask that potential security issues be reported via private email to, and not via Django's Trac instance or the django-developers list. Please see our security policies for further information.

Back to Top