# CVE-2024-31450: Owncast vulnerable to arbitrary file deletion in emoji.go (GHSL-2023-277)

- Severity: Low 2.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L`
- 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): 0.97%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-19T18:59:19.526Z
- Modified: 2026-06-17T07:28:26.983Z
- Also known as: GHSA-9355-27m8-h74v, GO-2024-2741
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Owncast is an open source, self-hosted, decentralized, single user live video streaming and chat server. The Owncast application exposes an administrator API at the URL /api/admin. The emoji/delete endpoint of said API allows administrators to delete custom emojis, which are saved on disk. The parameter name is taken from the JSON request and directly appended to the filepath that points to the emoji to delete. By using path traversal sequences (../), attackers with administrative privileges can exploit this endpoint to delete arbitrary files on the system, outside of the emoji directory. This vulnerability is fixed in 0.1.3.

(As written by CVE List.)

## Affected

- owncast owncast: < 0.1.3
- owncast_project owncast: *0.1.3; before 0.1.3
- github.com/owncast/owncast (Go): before 0.1.3

## Every score

- GitHub_M: CVSS:3.1 2.7 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 2.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://securitylab.github.com/advisories/GHSL-2023-277_Owncast/> (exploit, third-party-advisory)
- <https://github.com/owncast/owncast/commit/1b14800c7d7f54be14ed4d130bfe7f480645076e> (fix, patch, web)
- <https://github.com/owncast/owncast/blob/v0.1.2/controllers/admin/emoji.go#L63> (product, web)
- <https://github.com/owncast/owncast/releases/tag/v0.1.3> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31450> (advisory)
- <https://github.com/owncast/owncast> (package)
- <https://securitylab.github.com/advisories/GHSL-2023-277_Owncast> (advisory)
- <https://github.com/advisories/GHSA-9355-27m8-h74v> (advisory)

## Sources

- CVE List: [CVE-2024-31450](https://www.cve.org/CVERecord?id=CVE-2024-31450), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-9355-27m8-h74v](https://github.com/advisories/GHSA-9355-27m8-h74v), CC-BY-4.0, modified 2024-11-18
- Go Vulnerability Database: [GO-2024-2741](https://pkg.go.dev/vuln/GO-2024-2741), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-31450](https://nvd.nist.gov/vuln/detail/CVE-2024-31450), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31450 · Whole record: https://cve.day/CVE-2024-31450.json · Rebuilt by cve.day 2026-11-25T22:58:39.490Z
