What’s Vulnerable › Vulnerabilities
CVE-2021-32746: Possible path traversal by use of the `doc` module
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-07-12 · updated 2026-06-17
- Weakness: CWE-22
Description
Icinga Web 2 is an open source monitoring web interface, framework and command-line interface. Between versions 2.3.0 and 2.8.2, the `doc` module of Icinga Web 2 allows to view documentation directly in the UI. It must be enabled manually by an administrator and users need explicit access permission to use it. Then, by visiting a certain route, it is possible to gain access to arbitrary files readable by the web-server user. The issue has been fixed in the 2.9.0, 2.8.3, and 2.7.5 releases. As a workaround, an administrator may disable the `doc` module or revoke permission to use it from all users.
Affected products
- icinga2: from 2.3.0 before 2.7.5; from 2.8.0 before 2.8.3 — fixed in 2.7.5, 2.8.3
How to fix
Upgrade to a fixed version: icinga2 2.7.5, 2.8.3. Check the vendor advisory for mitigations.
References
- https://github.com/Icinga/icingaweb2/releases/tag/v2.7.5
- https://github.com/Icinga/icingaweb2/releases/tag/v2.8.3
- https://github.com/Icinga/icingaweb2/releases/tag/v2.9.0
- https://github.com/Icinga/icingaweb2/security/advisories/GHSA-cmgc-h4cx-3v43
- https://github.com/Icinga/icingaweb2/releases/tag/v2.7.5
- https://github.com/Icinga/icingaweb2/releases/tag/v2.8.3
- https://github.com/Icinga/icingaweb2/releases/tag/v2.9.0
- https://github.com/Icinga/icingaweb2/security/advisories/GHSA-cmgc-h4cx-3v43
Get alerted when CVE-2021-32746 or the next vulnerability affects your stack