← VULNERABILITIES

DHI-vnxi-bm2k-diej-lcdl

### Summary

Unscored
CVSS
—
EPSS
—
Published
2026-11-27
Age
1d old
Modified
2026-11-27
Product
rabbitmq-4.3

Description

### Summary `queue.declare` checks only resource-level `write` permission on `x-dead-letter-exchange`. It does not check `x-dead-letter-routing-key` against the declaring user's topic permissions. `rabbit_dead_letter:publish/5` then routes the dead-lettered message with broker authority and performs no authorization check. An authenticated user whose topic write pattern is `^public\..*$` can declare a queue with `x-dead-letter-exchange=amq.topic`, `x-dead-letter-routing-key=admin.secret`, and `x-message-ttl=0`. A message published to that queue expires immediately and is delivered on `amq.topic` with routing key `admin.secret`. A direct `basic.publish` of that key returns `403 ACCESS_REFUSED`. Affected versions are `>= 3.7.0, <= 4.4.0`, plus current `main` (`d38028c9c3`). Retested on 2026-10-31 with the official `rabbitmq:4.4.0-management` image (`rabbitmqctl version` reported `4.4.0`). No management tag is required. ### Details Topic permissions, added in 3.7.0, are the routing-key authorization layer on a topic exchange. Publishing goes through both the resource `write` check and `check_topic_authorisation/5`. Dead lettering does not. On `v4.4.0`, `deps/rabbit/src/rabbit_channel.

Sources

  • OSV · first seen 1d ago · CC-BY 4.0

References

JSON