# CVE-2022-2888: OctoPrint vulnerable to Insufficient Session Expiration.

Source: https://junglewise.ai/threats/cve-2022-2888-octoprint-vulnerable-to-insufficient-session-expiration  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-21  
License: CC BY 4.0 with a link back

CVE-2022-2888 · Severity: low · CVSS 3.1 · Published 2022-09-21

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.

Technologies: [OctoPrint (PyPI)](https://junglewise.ai/threats/technologies/octoprint). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-2888 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-2888 being exploited in the wild.

**How severe is CVE-2022-2888?** Low severity, with a CVSS score of 3.1, published 21 September 2022.

**Which products and versions are affected?** OctoPrint (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.3, GIT:introduced=0,fixed=40e6217ac1a85cc5ed592873ae49db01d3005da4|ECOSYSTEM:introduced=0,fixed=1.8.3.

**Is there a fix for CVE-2022-2888?** Yes. OctoPrint (PyPI): upgrade to 1.8.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-2888?** Check whether you run OctoPrint (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- OctoPrint (PyPI): upgrade to 1.8.3 or later

  ```sh
  pip install "OctoPrint>=1.8.3"
  ```


## Affected products

- OctoPrint (PyPI) ECOSYSTEM:introduced=0,fixed=1.8.3, GIT:introduced=0,fixed=40e6217ac1a85cc5ed592873ae49db01d3005da4|ECOSYSTEM:introduced=0,fixed=1.8.3

## Identifiers

- CVE-2022-2888
- GHSA-937f-qh3w-6g87
- PYSEC-2022-282

## Related threats

- [OctoPrint stored XSS in connection parameters](https://junglewise.ai/threats/cve-2026-123364-octoprint-provides-a-web-interface-for-controlling-consumer-3d)
- [OctoPrint file exfiltration via query parameters in upload endpoints](https://junglewise.ai/threats/cve-2026-54134-octoprint-file-exfiltration-via-query-parameters-in-upload)
- [OctoPrint XSS in Suppressed Command Notifications](https://junglewise.ai/threats/cve-2026-35163-octoprint-xss-in-suppressed-command-notifications)
- [PYSEC-2026-1716 - OctoPrint has Timing Side-Channel Vulnerability in API Key Authentication](https://junglewise.ai/threats/cve-2026-23892-octoprint-has-timing-side-channel-vulnerability-in-api-key)
- [PYSEC-2026-1714 - OctoPrint vulnerable to XSS in Action Commands Notification and Prompt](https://junglewise.ai/threats/cve-2025-64187-octoprint-vulnerable-to-xss-in-action-commands-notification-and)
