# CVE-2020-26261: user-readable api tokens in systemd units

- Severity: High 7.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-02)
- Published: 2020-12-09T16:27:43.000Z
- Modified: 2026-09-10T03:49:00.478Z
- Also known as: GHSA-cg54-gpgr-4rm6, PYSEC-2020-52
- Weaknesses: CWE-668
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- jupyterhub systemdspawner: < 0.15; before 0.15
- jupyterhub-systemdspawner (PyPI): before 0.15.0; before a4d08fd2ade1cfd0ef2c29dc221e649345f23580

## Every score

- GitHub_M: CVSS:3.1 7.9 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.9 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.9 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 3.3 Low `AV:L/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://github.com/jupyterhub/systemdspawner/security/advisories/GHSA-cg54-gpgr-4rm6> (advisory, third-party-advisory, web)
- <https://github.com/jupyterhub/systemdspawner/commit/a4d08fd2ade1cfd0ef2c29dc221e649345f23580> (fix, patch, third-party-advisory, web)
- <https://github.com/jupyterhub/systemdspawner/blob/master/CHANGELOG.md#v015> (release-notes, third-party-advisory, web)
- <https://pypi.org/project/jupyterhub-systemdspawner/> (package, product, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26261> (advisory)
- <https://github.com/jupyterhub/systemdspawner> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub-systemdspawner/PYSEC-2020-52.yaml> (web)
- <https://pypi.org/project/jupyterhub-systemdspawner> (web)

## Sources

- CVE List: [CVE-2020-26261](https://www.cve.org/CVERecord?id=CVE-2020-26261), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-cg54-gpgr-4rm6](https://github.com/advisories/GHSA-cg54-gpgr-4rm6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-26261](https://nvd.nist.gov/vuln/detail/CVE-2020-26261), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-52](https://osv.dev/vulnerability/PYSEC-2020-52), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-26261 · Whole record: https://cve.day/CVE-2020-26261.json · Rebuilt by cve.day 2026-11-25T22:57:56.107Z
