CVE-2020-36191
Python vulnerability analysis and mitigation

Overview

JupyterHub 1.1.0 contains a Cross-Site Request Forgery (CSRF) vulnerability in the admin panel that allows unauthorized actions via requests lacking an _xsrf field. The vulnerability was discovered in December 2020 and affects the user management functionality, specifically the ability to add or remove user accounts through /hub/api/user requests (GitHub Issue).

Technical details

The vulnerability stems from improper CSRF token validation in the admin panel. While the system implements Referer header checking as a security measure, the _xsrf token validation is not enforced for add/delete user operations. The CVSS v3.1 base score is 4.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N, indicating network accessibility, low attack complexity, high privileges required, user interaction needed, and high impact on integrity (NVD).

Impact

An attacker could potentially exploit this vulnerability to perform unauthorized user management operations, including adding or removing user accounts, if they can trick an authenticated administrator into performing specific actions. The vulnerability primarily affects the integrity of the system's user management functions (GitHub Issue).

Mitigation and workarounds

The recommended mitigation is to upgrade to a patched version of JupyterHub that implements proper CSRF protection mechanisms, such as Double Submit Cookie validation. This provides stronger protection against CSRF attacks compared to relying solely on Referer header checking (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-66hx-chf7-3332HIGH8.8
  • PythonPython
  • pyload-ng
NoNoApr 14, 2026
CVE-2026-40192HIGH8.7
  • PythonPython
  • pillow
NoYesApr 15, 2026
CVE-2026-40347MEDIUM5.3
  • PythonPython
  • python-multipart
NoYesApr 15, 2026
GHSA-jj6c-8h6c-hppxMEDIUM4.8
  • PythonPython
  • pypdf
NoYesApr 15, 2026
GHSA-fj52-5g4h-gmq8LOW2.9
  • PythonPython
  • pyload-ng
NoNoApr 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management