# CVE-2024-47049: czim/file-handling vulnerable to SSRF and directory traversal

- Severity: High 8.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- 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.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-09-17T00:00:00.000Z
- Modified: 2026-06-17T07:56:27.210Z
- Also known as: GHSA-6rgh-r6j3-3223
- Weaknesses: CWE-22, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

The czim/file-handling package before 1.5.0 and 2.x before 2.3.0 (used with PHP Composer) does not properly validate URLs within makeFromUrl and makeFromAny, leading to SSRF, and to directory traversal for the reading of local files.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- czim/file-handling (Packagist): before 1.5.0; from 2.0.0 before 2.3.0
- czim file-handling: before 1.5.0; from 2.0.0 before 2.3.0

## Every score

- CISA-ADP: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/czim/file-handling/blob/2.3.0/SECURITY.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47049> (advisory)
- <https://github.com/czim/file-handling/commit/95dfda850536bf35e684619598b9d02f4c97680d> (web)
- <https://github.com/czim/file-handling/commit/dcf879896efe3457f51af9c8eab9f70dfc709a99> (web)
- <https://github.com/czim/file-handling> (package)

## Sources

- CVE List: [CVE-2024-47049](https://www.cve.org/CVERecord?id=CVE-2024-47049), CVE Terms of Use, modified 2025-03-18
- GitHub Advisory Database: [GHSA-6rgh-r6j3-3223](https://github.com/advisories/GHSA-6rgh-r6j3-3223), CC-BY-4.0, modified 2025-03-19
- NVD: [CVE-2024-47049](https://nvd.nist.gov/vuln/detail/CVE-2024-47049), Public domain, modified 2026-06-17

---

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