{"id":"CVE-2020-26261","aliases":["CVE-2020-26261","GHSA-cg54-gpgr-4rm6","PYSEC-2020-52"],"related":[],"kind":"vulnerability","state":"published","title":"user-readable api tokens in systemd units","summary":"jupyterhub-systemdspawner enables JupyterHub to spawn single-user notebook servers using systemd. In jupyterhub-systemdspawner before version 0.15 user API tokens issued to single-user servers are specified in the environment of systemd units. These tokens are incorrectly accessible to all users. In particular, the-littlest-jupyterhub is affected, which uses systemdspawner by default. This is patched in jupyterhub-systemdspawner v0.15","summarySource":"cvelist","descriptions":[{"lang":"en","text":"jupyterhub-systemdspawner enables JupyterHub to spawn single-user notebook servers using systemd. In jupyterhub-systemdspawner before version 0.15 user API tokens issued to single-user servers are specified in the environment of systemd units. These tokens are incorrectly accessible to all users. In particular, the-littlest-jupyterhub is affected, which uses systemdspawner by default. This is patched in jupyterhub-systemdspawner v0.15","source":"cvelist"},{"lang":"en","text":"### Impact\nuser API tokens issued to single-user servers are specified in the environment of systemd units, which are accessible to all users.\n\nIn particular, the-littlest-jupyterhub is affected, which uses systemdspawner by default.\n\n### Patches\nPatched in jupyterhub-systemdspawner v0.15\n\n### Workarounds\nNo workaround other than upgrading systemdspawner to 0.15\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open a thread in [the Jupyter forum](https://discourse.jupyter.org)\n* Email us at [security@ipython.org](mailto:security@ipython.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"jupyterhub-systemdspawner permite que JupyterHub genere servidores de portátiles de un solo usuario utilizando systemd.&#xa0;En jupyterhub-systemdspawner, versiones anteriores a 0.15, los tokens de la API de usuario emitidos a servidores de un solo usuario son especificados en el entorno de las unidades systemd.&#xa0;Estos tokens son incorrectamente accesibles para todos los usuarios.&#xa0;En particular, está afectado the-littlest-jupyterhub, que usa systemdspawner por defecto.&#xa0;Esto está parcheado en jupyterhub-systemdspawner versión v0.15","source":"nvd"}],"published":"2020-12-09T16:27:43.000Z","modified":"2026-09-10T03:49:00.478Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.9,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:U","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":7.9,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:N","score":3.3,"rating":"LOW"}],"cwes":["CWE-668"],"affected":[{"ranges":[{"version":"< 0.15","status":"affected"}],"vendor":"jupyterhub","product":"systemdspawner","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.15.0"}],"ecosystem":"PyPI","package":"jupyterhub-systemdspawner","purl":"pkg:pypi/jupyterhub-systemdspawner","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.15"}],"vendor":"jupyterhub","product":"systemdspawner","cpe":"cpe:2.3:a:jupyterhub:systemdspawner:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"a4d08fd2ade1cfd0ef2c29dc221e649345f23580"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.15.0"}],"ecosystem":"PyPI","package":"jupyterhub-systemdspawner","purl":"pkg:pypi/jupyterhub-systemdspawner","repo":"https://github.com/jupyterhub/systemdspawner","source":"pysec"}],"references":[{"url":"https://github.com/jupyterhub/systemdspawner/security/advisories/GHSA-cg54-gpgr-4rm6","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jupyterhub/systemdspawner/commit/a4d08fd2ade1cfd0ef2c29dc221e649345f23580","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/jupyterhub/systemdspawner/blob/master/CHANGELOG.md#v015","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://pypi.org/project/jupyterhub-systemdspawner/","tags":["package","product","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26261","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jupyterhub/systemdspawner","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub-systemdspawner/PYSEC-2020-52.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/jupyterhub-systemdspawner","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-26261","url":"https://www.cve.org/CVERecord?id=CVE-2020-26261","licence":"CVE Terms of Use","modified":"2024-08-04T15:56:03.813Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cg54-gpgr-4rm6","url":"https://github.com/advisories/GHSA-cg54-gpgr-4rm6","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:00.478Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-26261","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26261","licence":"Public domain","modified":"2026-06-17T03:07:56.837Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-52","url":"https://osv.dev/vulnerability/PYSEC-2020-52","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:16.807Z"}],"updatedAt":"2026-11-25T22:57:56.107Z","epss":{"score":0.0048,"percentile":0.43081,"date":"2026-12-02T12:00:21.000Z"}}