{"id":"CVE-2022-2888","published":"2022-09-21T11:25:08Z","modified":"2025-05-28T15:22:09Z","title":"Insufficient Session Expiration in octoprint/octoprint","vendor":"octoprint","product":"octoprint/octoprint","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00295,"percentile":0.22692,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://huntr.dev/bounties/d27d232b-2578-4b32-b3b4-74aabdadf629","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4","tags":["x_refsource_MISC"]}],"priority":{"score":7.6,"factors":[{"name":"EPSS percentile","points":4.54},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"octoprint","affectedVersions":[{"vendor":"octoprint","product":"octoprint/octoprint","versions":[">= unspecified, < 1.8.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-28T15:22:05.235332Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"OctoPrint","vulnerableRanges":["<1.8.3"],"patched":["1.8.3"],"from":["GHSA-937f-qh3w-6g87","PYSEC-2022-282"],"provenance":"source"}],"summary":{"text":"Insufficient Session Expiration in OctoPrint (octoprint/octoprint) means that a victim's session cookie remains valid for as long as the victim's account exists, rather than expiring. An attacker who obtains a victim's session cookie by any means, and who has local access to the system (the vector is local, with low privileges and no user interaction required), can use that cookie to authenticate as the victim.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:04Z"},"euvd":{"id":"EUVD-2022-0174","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-octoprint-cve-2022-1432","parents":[{"from":"CVE-2022-2930","to":"CVE-2022-2888","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/octoprint/static/js/app/viewmodels/usersettings.js","src/octoprint/templates/dialogs/usersettings/access.jinja2"],"commits":["https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4","https://github.com/octoprint/octoprint/commit/1453076ee3e47fcab2dc73664ec2d61d3ef7fc4f"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2022-2888","to":"CVE-2013-10077","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/octoprint/server/api/__init__.py"],"commits":["https://github.com/OctoPrint/OctoPrint/commit/eccc9d6fbde0c46cdd6e255fd5ce9a30077ba954","https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4"],"basis":"shared function","functions":["login"]}]},{"from":"CVE-2022-2888","to":"CVE-2024-23637","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/octoprint/server/api/__init__.py","src/octoprint/server/util/flask.py"],"commits":["https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4","https://github.com/OctoPrint/OctoPrint/commit/1729d167b4ae4a5835bbc7211b92c6828b1c4125"],"basis":"shared function","functions":["login"]}]},{"from":"CVE-2022-2888","to":"CVE-2024-32977","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/octoprint/server/api/__init__.py","src/octoprint/server/util/flask.py","src/octoprint/server/util/sockjs.py"],"commits":["https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4","https://github.com/OctoPrint/OctoPrint/commit/5afbec8d23508edc25b0f1bdef1620580136add4"],"basis":"shared function","functions":["__init__","login"]}]},{"from":"CVE-2022-2888","to":"CVE-2024-51493","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/octoprint/static/js/app/viewmodels/usersettings.js","src/octoprint/templates/dialogs/usersettings/access.jinja2"],"commits":["https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4","https://github.com/OctoPrint/OctoPrint/commit/9bc80d782d72881b16e20873dcd0b8314324c70c"],"basis":"rarely changed file"}]},{"from":"CVE-2022-2888","to":"CVE-2026-23892","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/octoprint/access/users.py"],"commits":["https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4","https://github.com/OctoPrint/OctoPrint/commit/249fd80ab01bc4b7dabedff768230a0fb5d01a8c"],"basis":"rarely changed file"}]}]}}