# CVE-2023-1313: Unrestricted Upload of File with Dangerous Type in cockpit-hq/cockpit

- Severity: High 7.2 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 64% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-10T00:00:00.000Z
- Modified: 2026-06-17T05:27:37.487Z
- Also known as: GHSA-6x8f-x6qw-qwx3
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntrdev

## Description

Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1.

(As written by CVE List.)

## Affected

- cockpit-hq cockpit-hq/cockpit: from unspecified before 2.4.1
- cockpit-hq/cockpit (Packagist): before 2.4.1
- agentejo cockpit: up to 2.4.0

## Every score

- @huntrdev: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.dev/bounties/f73eef49-004f-4b3b-9717-90525e65ba61> (exploit, patch, third-party-advisory, web)
- <https://github.com/cockpit-hq/cockpit/commit/becca806c7071ecc732521bb5ad0bb9c64299592> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-1313> (advisory)
- <https://github.com/Cockpit-HQ/Cockpit> (package)

## Sources

- CVE List: [CVE-2023-1313](https://www.cve.org/CVERecord?id=CVE-2023-1313), CVE Terms of Use, modified 2025-03-03
- GitHub Advisory Database: [GHSA-6x8f-x6qw-qwx3](https://github.com/advisories/GHSA-6x8f-x6qw-qwx3), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-1313](https://nvd.nist.gov/vuln/detail/CVE-2023-1313), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-1313 · Whole record: https://cve.day/CVE-2023-1313.json · Rebuilt by cve.day 2026-11-25T22:58:22.361Z
