# CVE-2022-2888: Insufficient Session Expiration in octoprint/octoprint

- Severity: Medium 4.4 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/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.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-21T11:25:08.000Z
- Modified: 2026-06-17T04:42:46.617Z
- Also known as: GHSA-937f-qh3w-6g87, PYSEC-2022-282
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntrdev

## Description

If an attacker comes into the possession of a victim's OctoPrint session cookie through whatever means, the attacker can use this cookie to authenticate as long as the victim's account exists.

(As written by CVE List.)

## Affected

- octoprint octoprint/octoprint: from unspecified before 1.8.3
- octoprint (PyPI): before 1.8.3; before 40e6217ac1a85cc5ed592873ae49db01d3005da4
- octoprint octoprint: before 1.8.3

## Every score

- @huntrdev: CVSS:3.0 4.4 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://huntr.dev/bounties/d27d232b-2578-4b32-b3b4-74aabdadf629> (exploit, patch, third-party-advisory, web)
- <https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2888> (advisory)
- <https://github.com/octoprint/octoprint> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2022-282.yaml> (web)
- <https://github.com/advisories/GHSA-937f-qh3w-6g87> (advisory)

## Sources

- CVE List: [CVE-2022-2888](https://www.cve.org/CVERecord?id=CVE-2022-2888), CVE Terms of Use, modified 2025-05-28
- GitHub Advisory Database: [GHSA-937f-qh3w-6g87](https://github.com/advisories/GHSA-937f-qh3w-6g87), CC-BY-4.0, modified 2024-10-08
- NVD: [CVE-2022-2888](https://nvd.nist.gov/vuln/detail/CVE-2022-2888), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-282](https://osv.dev/vulnerability/PYSEC-2022-282), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2022-2888 · Whole record: https://cve.day/CVE-2022-2888.json · Rebuilt by cve.day 2026-11-25T22:58:15.167Z
