# CVE-2019-17572: Directory traversal in Apache RocketMQ

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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): 2.99%, higher than 87% of CVEs (2026-12-01)
- Published: 2020-05-14T16:10:48.000Z
- Modified: 2026-06-17T02:24:12.187Z
- Also known as: GHSA-5x3v-2gxr-59m2
- Weaknesses: CWE-22
- Assigned by: apache

## Description

In Apache RocketMQ 4.2.0 to 4.6.0, when the automatic topic creation in the broker is turned on by default, an evil topic like “../../../../topic2020” is sent from rocketmq-client to the broker, a topic folder will be created in the parent directory in brokers, which leads to a directory traversal vulnerability. Users of the affected versions should apply one of the following: Upgrade to Apache RocketMQ 4.6.1 or later.

(As written by CVE List.)

## Affected

- Apache RocketMQ: Apache RocketMQ 4.2.0 to 4.6.0; from 4.2.0 up to 4.6.0
- org.apache.rocketmq:rocketmq-broker (Maven): from 4.2.0 before 4.6.1

## Every score

- GitHub: rating Medium
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://lists.apache.org/thread.html/fdea1c5407da47a17d5522fa149a097cacded1916c1c1534d46edc6d%40%3Cprivate.rocketmq.apache.org%3E> (broken-link, web)
- <https://seclists.org/oss-sec/2020/q2/112> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-17572> (advisory)
- <https://github.com/apache/rocketmq/issues/1637> (web)
- <https://github.com/apache/rocketmq/commit/f8f6fbe4aa7f5dee937e688322628c366b12a552> (web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEROCKETMQ-569108> (web)

## Sources

- CVE List: [CVE-2019-17572](https://www.cve.org/CVERecord?id=CVE-2019-17572), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-5x3v-2gxr-59m2](https://github.com/advisories/GHSA-5x3v-2gxr-59m2), CC-BY-4.0, modified 2024-12-02
- NVD: [CVE-2019-17572](https://nvd.nist.gov/vuln/detail/CVE-2019-17572), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-17572 · Whole record: https://cve.day/CVE-2019-17572.json · Rebuilt by cve.day 2026-11-25T22:57:49.867Z
