CVE-2024-31450
MEDIUM 6.5CVSS 3.1Owncast Path Traversal vulnerability
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
- 19 Apr 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-9355-27m8-h74vGO-2024-2741
- Sources
- NVDJSONOSV GHSA-9355-27m8-h74vJSONOSV GO-2024-2741JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | owncast_project | owncastcpe:2.3:a:owncast_project:owncast:*:*:*:*:*:*:*:* |
< 0.1.3 | 0.1.3 |
| OSV | Go | github.com/owncast/owncast | < 0.1.3 | 0.1.3 |
References
- https://github.com/owncast/owncast/blob/v0.1.2/controllers/admin/emoji.go#L63 · Product, WEB
- https://github.com/owncast/owncast/commit/1b14800c7d7f54be14ed4d130bfe7f480645076e · Patch, WEB, FIX
- https://github.com/owncast/owncast/releases/tag/v0.1.3 · Release Notes, WEB
- https://securitylab.github.com/advisories/GHSL-2023-277_Owncast/ · Exploit, Third Party Advisory, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-31450 · ADVISORY
- https://github.com/owncast/owncast · PACKAGE
- https://github.com/advisories/GHSA-9355-27m8-h74v · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 19 Apr 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Aug 2024)