{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-31450","id":"CVE-2024-31450","title":"Owncast vulnerable to arbitrary file deletion in emoji.go (GHSL-2023-277)","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 em","descriptionLong":"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.","published":"2024-04-19T18:59:19.526Z","updated":"2026-11-10T10:30:22.370827831Z","reserved":"2024-04-03T17:55:32.646Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"low","source":"GitHub"},{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub_M"},{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"OSV"},{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub"}],"rating":"low","products":["owncast"],"affectedProducts":[{"vendor":"owncast","product":"owncast","defaultStatus":null,"versions":[{"version":"< 0.1.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/owncast/owncast","purl":"pkg:golang/github.com/owncast/owncast","ranges":["<0.1.3"],"fixed":["0.1.3"],"advisory":"GHSA-9355-27m8-h74v"}],"cwes":["CWE-22"],"aliases":["GHSA-9355-27m8-h74v","GO-2024-2741"],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-277_Owncast/","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","advisory"]},{"url":"https://github.com/owncast/owncast/commit/1b14800c7d7f54be14ed4d130bfe7f480645076e","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/owncast/owncast/blob/v0.1.2/controllers/admin/emoji.go#L63","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/owncast/owncast/releases/tag/v0.1.3","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31450.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31450","tags":["advisory"]},{"url":"https://github.com/owncast/owncast","tags":["package"]},{"url":"https://securitylab.github.com/advisories/GHSL-2023-277_Owncast","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9355-27m8-h74v","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00969,"epssPercentile":0.62587,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-31450","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31450","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-31450","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9355-27m8-h74v","ok":true,"note":"GHSA-9355-27m8-h74v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-31450","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}