CVE-2022-2888 in Octoprint
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Octoprint | Octoprint | < 1.8.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-2888 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-318476-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| Published | 2022-09-21 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-613: CWE-613
Analysis AI-written, not human-reviewed
An attacker can gain unauthorized access to an OctoPrint instance if they obtain a valid session cookie for a user's account.
The attack involves the theft of a session cookie, which can be obtained through various means such as cross-site scripting (XSS) attacks, session fixation, or by intercepting network traffic. Once obtained, the attacker can use this cookie to authenticate as the user without needing the user's password.
Questions
What is CVE-2022-2888?
An attacker can gain unauthorized access to an OctoPrint instance if they obtain a valid session cookie for a user's account.
What is the CVSS score for CVE-2022-2888?
CVE-2022-2888 has CVSS 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.3%.
Is CVE-2022-2888 actively exploited?
No confirmed active exploitation of CVE-2022-2888 as of 2026-05-30.
How do I remediate CVE-2022-2888?
Priority: MEDIUM.
What systems are affected by CVE-2022-2888?
CVE-2022-2888 affects Octoprint Octoprint.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Octoprint","product":"Octoprint","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.