What’s Vulnerable › Vulnerabilities
CVE-2024-24756: Crafatar path traversal vulnerability
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-02-01 · updated 2026-06-17
- Weakness: CWE-22
Description
Crafatar serves Minecraft avatars based on the skin for use in external applications. Files outside of the `lib/public/` directory can be requested from the server. Instances running behind Cloudflare (including crafatar.com) are not affected. Instances using the Docker container as shown in the README are affected, but only files within the container can be read. By default, all of the files within the container can also be found in this repository and are not confidential. This vulnerability is patched in 2.1.5.
Affected products
- crafatar: before 2.1.5 — fixed in 2.1.5
How to fix
Upgrade to a fixed version: crafatar 2.1.5. Check the vendor advisory for mitigations.
References
- https://github.com/crafatar/crafatar/blob/e0233f2899a3206a817d2dd3b80da83d51c7a726/lib/server.js#L64-L67
- https://github.com/crafatar/crafatar/commit/bba004acc725b362a5d2d5dfe30cf60e7365a373
- https://github.com/crafatar/crafatar/security/advisories/GHSA-5cxq-25mp-q5f2
- https://github.com/crafatar/crafatar/blob/e0233f2899a3206a817d2dd3b80da83d51c7a726/lib/server.js#L64-L67
- https://github.com/crafatar/crafatar/commit/bba004acc725b362a5d2d5dfe30cf60e7365a373
- https://github.com/crafatar/crafatar/security/advisories/GHSA-5cxq-25mp-q5f2
Get alerted when CVE-2024-24756 or the next vulnerability affects your stack