# CVE-2018-1000544: Rubyzip gem contains a Directory Traversal vulnerability in zip file component

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 4.34%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2018-06-26T16:00:00.000Z
- Modified: 2026-06-17T01:32:52.857Z
- Also known as: GHSA-vqcq-mrmw-mcmg
- Weaknesses: CWE-59, CWE-434
- Assigned by: mitre

## Description

rubyzip gem rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write arbitrary files to the filesystem. This attack appear to be exploitable via If a site allows uploading of .zip files , an attacker can upload a malicious file that contains symlinks or files with absolute pathnames "../" to write arbitrary files to the filesystem..

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rubyzip (RubyGems): before 1.2.2
- rubyzip_project rubyzip: up to 1.2.1
- debian debian_linux: 8.0; 9.0
- redhat cloudforms: 4.6

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/rubyzip/rubyzip/issues/369> (exploit, third-party-advisory, web)
- <https://access.redhat.com/errata/RHSA-2018:3466> (third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2018/08/msg00013.html> (mailing-list, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2020/08/msg00002.html> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1000544> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubyzip/CVE-2018-1000544.yml> (web)
- <https://github.com/rubyzip/rubyzip> (package)

## Sources

- CVE List: [CVE-2018-1000544](https://www.cve.org/CVERecord?id=CVE-2018-1000544), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-vqcq-mrmw-mcmg](https://github.com/advisories/GHSA-vqcq-mrmw-mcmg), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2018-1000544](https://nvd.nist.gov/vuln/detail/CVE-2018-1000544), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-1000544 · Whole record: https://cve.day/CVE-2018-1000544.json · Rebuilt by cve.day 2026-11-25T22:57:38.431Z
