CVEBrief

Home / Bouke / django-two-factor-auth / CVE-2020-15105

CVE-2020-15105: is it exploited, and which versions of Bouke django-two-factor-auth are affected and fixed?

CVE-2020-15105 is a sensitive data stored in clear text vulnerability in Bouke django-two-factor-auth. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: django-two-factor-auth before 1.12 (GitHub advisory GHSA-vhr6-pvjm-9qwf). Fixed in 1.12 (GitHub advisory GHSA-vhr6-pvjm-9qwf). Severity: Medium (5.4, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:09 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:09 UTC
Affected
django-two-factor-auth before 1.12
GitHub advisory GHSA-vhr6-pvjm-9qwf
Fixed in
1.12
GitHub advisory GHSA-vhr6-pvjm-9qwf
Severity
Medium 5.4
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.70% in 30 days
higher than 54% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2020-15105?

In Django Two-Factor Authentication, user passwords are stored in clear text in the Django session

Django Two-Factor Authentication before 1.12, stores the user's password in clear text in the user session (base64-encoded). The password is stored in the session when the user submits their username and password, and is removed once they complete authentication by entering a two-factor authentication code. This means that the password is stored in clear text in the session for an arbitrary amount of time, and potentially forever if the user begins the login process by entering their username and password and then leaves before entering their two-factor authentication code. The severity of this issue depends on which type of session storage you have configured: in the worst case, if you're using Django's default database session storage, then users' passwords are stored in clear text in your database. In the best case, if you're using Django's signed cookie session, then users' passwords are only stored in clear text within their browser's cookie store. In the common case of using Django's cache session store, the users' passwords are stored in clear text in whatever cache storage you have configured (typically Memcached or Redis). This has been fixed in 1.12. After upgrading, users should be sure to delete any clear text passwords that have been stored. For example, if you're using the database session backend, you'll likely want to delete any session record from the database and purge that data from any database backups or replicas. In addition, affected organizations who have suffered a database breach while using an affected version should inform their users that their clear text passwords have been compromised. All organizations should encourage users whose passwords were insecurely stored to change these passwords on any sites where they were used. As a workaround, wwitching Django's session storage to use signed cookies instead of the database or cache lessens the impact of this issue, but should not be done without a thorough understanding of the security tradeoffs of using signed cookies rather than a server-side session storage. There is no way to fully mitigate the issue without upgrading.

From the CVE record by GitHub_M, last updated August 4, 2024, 13:08 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Boukedjango-two-factor-auth< 1.12

As the CVE record by GitHub_M states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIdjango-two-factor-auth< 1.121.12GHSA-vhr6-pvjm-9qwf

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 16, 2024. Summary: User passwords are stored in clear text in the Django session.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
django two-factor authentication projectdjango two-factor authenticationbefore 1.12application

NVD analysis (status Modified), last modified June 17, 2026, 02:56 UTC.

How severe is CVE-2020-15105?

ScoreVersionVectorSource
Medium 5.4CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:NGitHub_M
Medium 5.4CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:NNVD
Low 3.6CVSS 2.0AV:N/AC:H/Au:S/C:P/I:P/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2020-15105 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.70% probability of exploitation activity in the next 30 days, percentile 54.5 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 25, 2020
Published
July 10, 2020, 20:55 UTC
CVE record updated
August 4, 2024, 13:08 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 02:56 UTC
Last checked
CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:09 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

Questions about CVE-2020-15105

Is CVE-2020-15105 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.70% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Bouke django-two-factor-auth are affected by CVE-2020-15105?

django-two-factor-auth before 1.12, per the GitHub advisory GHSA-vhr6-pvjm-9qwf. The tables above give every range the sources list.

Which version fixes CVE-2020-15105?

1.12, per the GitHub advisory GHSA-vhr6-pvjm-9qwf. Check the vendor's advisory before you rely on it.

How severe is CVE-2020-15105?

Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2020-15105?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.