{"id":"CVE-2022-2888","aliases":["CVE-2022-2888","GHSA-937f-qh3w-6g87","PYSEC-2022-282"],"related":[],"kind":"vulnerability","state":"published","title":"Insufficient Session Expiration in octoprint/octoprint","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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. This issue is fixed in version 1.8.3.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Si un atacante entra en posesión de la cookie de sesión de OctoPrint de una víctima mediante cualquier medio, el atacante puede usar esta cookie para autenticarse mientras la cuenta de la víctima exista","source":"nvd"}],"published":"2022-09-21T11:25:08.000Z","modified":"2026-06-17T04:42:46.617Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-613"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.8.3","status":"affected"}],"vendor":"octoprint","product":"octoprint/octoprint","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.8.3"}],"ecosystem":"PyPI","package":"octoprint","purl":"pkg:pypi/octoprint","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.8.3"}],"vendor":"octoprint","product":"octoprint","cpe":"cpe:2.3:a:octoprint:octoprint:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"40e6217ac1a85cc5ed592873ae49db01d3005da4"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.8.3"}],"ecosystem":"PyPI","package":"octoprint","purl":"pkg:pypi/octoprint","repo":"https://github.com/octoprint/octoprint","source":"pysec"}],"references":[{"url":"https://huntr.dev/bounties/d27d232b-2578-4b32-b3b4-74aabdadf629","tags":["exploit","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/octoprint/octoprint/commit/40e6217ac1a85cc5ed592873ae49db01d3005da4","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2888","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/octoprint/octoprint","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/octoprint/PYSEC-2022-282.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-937f-qh3w-6g87","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntrdev","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-28T15:22:05.235Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-2888","url":"https://www.cve.org/CVERecord?id=CVE-2022-2888","licence":"CVE Terms of Use","modified":"2025-05-28T15:22:09.888Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-937f-qh3w-6g87","url":"https://github.com/advisories/GHSA-937f-qh3w-6g87","licence":"CC-BY-4.0","modified":"2024-10-08T13:04:57.118Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-2888","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2888","licence":"Public domain","modified":"2026-06-17T04:42:46.617Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-282","url":"https://osv.dev/vulnerability/PYSEC-2022-282","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:26.075Z"}],"updatedAt":"2026-11-25T22:58:15.167Z","epss":{"score":0.00295,"percentile":0.23855,"date":"2026-12-01T12:00:22.000Z"}}