Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-17572
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:48 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-17572
Complete source record
{
"id": "4dd4938395c70d316a2d02d7946628d72bdc90fea879753cef4b54dba9ee4901",
"url": "https://osv.dev/vulnerability/CVE-2019-17572",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-17572",
"summary": "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.",
"evidence": "osv:CVE-2019-17572",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-17572",
"aliases": [
"CVE-2019-17572",
"GHSA-5x3v-2gxr-59m2"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/rocketmq",
"type": "GIT",
"events": [
{
"introduced": "d9fc71b99152277fd991313d5e3161d812da8454"
},
{
"last_affected": "d1b4e47c26576cf4fa543bbdd8c6f09643220bed"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.0"
},
{
"last_affected": "4.6.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"rocketmq-all-4.6.0",
"rocketmq-all-4.5.2",
"rocketmq-all-4.5.1",
"rocketmq-all-4.4.0",
"rocketmq-all-4.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-17572.json"
}
}
],
"modified": "2026-10-24T10:30:58.575329362Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/fdea1c5407da47a17d5522fa149a097cacded1916c1c1534d46edc6d%40%3Cprivate.rocketmq.apache.org%3E",
"https://seclists.org/oss-sec/2020/q2/112"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-17572",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 439117,
"published_at": "2020-05-14T17:15:11.977+00:00"
}