Account impersonation via nonexpiring session cookies
Published Sep 21, 2022 · Updated May 28, 2025
Insufficient session expiration in OctoPrint before 1.8.3 allows attackers holding a victim's session cookie to impersonate the account holder. The application accepts existing session and persistent-login cookies without a short inactivity limit, fixed lifetime, or password-change invalidation. Possession of a valid stolen cookie is required; access lasts while the account exists and carries the account's OctoPrint privileges.
Summary
What happened
Insufficient session expiration in OctoPrint before 1.8.3 allows attackers holding a victim's session cookie to impersonate the account holder. The application accepts existing session and persistent-login cookies without a short inactivity limit, fixed lifetime, or password-change invalidation. Possession of a valid stolen cookie is required; access lasts while the account exists and carries the account's OctoPrint privileges.
The record
- CVE
- CVE-2022-2888
- Published
- Sep 21, 2022
- Updated
- May 28, 2025
- Vendor
- OctoPrint
- Product
- OctoPrint
- Classifications
- CWE-613, T1550.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 21, 2022CVE publishedPublication date reported by the CVE source.
- May 28, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <1.8.3
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- huntr session-cookie reuse proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo