Home / cockpit-hq / cockpit-hq/cockpit / CVE-2023-1313
CVE-2023-1313: is it exploited, and which versions of cockpit-hq/cockpit are affected and fixed?
CVE-2023-1313 is an unrestricted file upload vulnerability in cockpit-hq/cockpit. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: cockpit-hq/cockpit before 2.4.1 (GitHub advisory GHSA-6x8f-x6qw-qwx3). Fixed in 2.4.1 (GitHub advisory GHSA-6x8f-x6qw-qwx3). Severity: High (7.2, CVSS 3.0, from @huntrdev).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 28, 2026, 19:18 UTC and NVD November 19, 2026, 07:40 UTC.
What is CVE-2023-1313?
Unrestricted Upload of File with Dangerous Type in cockpit-hq/cockpit
Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1.
From the CVE record by @huntrdev, last updated March 3, 2025, 20:58 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| cockpit-hq | cockpit-hq/cockpit | before 2.4.1 | 2.4.1 |
As the CVE record by @huntrdev states it, last updated March 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | cockpit-hq/cockpit | < 2.4.1 | 2.4.1 | GHSA-6x8f-x6qw-qwx3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 15, 2023. Summary: cockpit-hq/cockpit is vulnerable to unrestricted file uploads.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| agentejo | cockpit | through 2.4.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:27 UTC.
How severe is CVE-2023-1313?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.2 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | @huntrdev |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-1313 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, March 3, 2025)
- EPSS
- 0.99% probability of exploitation activity in the next 30 days, percentile 63.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-434 Unrestricted Upload of File with Dangerous Type
Where are the vendor advisories and references?
- https://huntr.dev/bounties/f73eef49-004f-4b3b-9717-90525e65ba61
- https://github.com/cockpit-hq/cockpit/commit/becca806c7071ecc732521bb5ad0bb9c64299592
When was it published, and where is the official record?
- Reserved
- March 10, 2023
- Published
- March 10, 2023, 00:00 UTC
- CVE record updated
- March 3, 2025, 20:58 UTC by @huntrdev
- NVD
- Modified, last modified June 17, 2026, 05:27 UTC
- Last checked
- CVE list November 28, 2026, 19:18 UTC; NVD November 19, 2026, 07:40 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect cockpit-hq/cockpit?
- Aug 20, 2023CVE-2023-4451 cockpit-hq/cockpit: cross-site scripting (XSS)
- Aug 19, 2023CVE-2023-4433 cockpit-hq/cockpit: cross-site scripting (XSS)
- Aug 19, 2023CVE-2023-4432 cockpit-hq/cockpit: cross-site scripting (XSS)
- Aug 18, 2023CVE-2023-4422 cockpit-hq/cockpit: cross-site scripting (XSS)
- Aug 17, 2023CVE-2023-4395 cockpit-hq/cockpit: cross-site scripting (XSS)
- Aug 14, 2023CVE-2023-4321 cockpit-hq/cockpit: cross-site scripting (XSS)
- Aug 6, 2023CVE-2023-4196 cockpit-hq/cockpit: cross-site scripting (XSS)
- Aug 6, 2023CVE-2023-4195 cockpit-hq/cockpit: PHP file inclusion
Every CVE in cockpit-hq/cockpit
Questions about CVE-2023-1313
Is CVE-2023-1313 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.99% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of cockpit-hq/cockpit are affected by CVE-2023-1313?
cockpit-hq/cockpit before 2.4.1, per the GitHub advisory GHSA-6x8f-x6qw-qwx3. The tables above give every range the sources list.
Which version fixes CVE-2023-1313?
2.4.1, per the GitHub advisory GHSA-6x8f-x6qw-qwx3. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-1313?
High (7.2, CVSS 3.0, from @huntrdev). The severity table above shows each score with its source.
Where is the official record of CVE-2023-1313?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.