Description
Dovecot before 2.3.15 allows ../ Path Traversal. An attacker with access to the local filesystem can trick OAuth2 authentication into using an HS256 validation key from an attacker-controlled location. This occurs during use of local JWT validation with the posix fs driver.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | dovecot | 1:2.3.13+dfsg1-2 | — |
| Debian 13 | dovecot | 1:2.3.13+dfsg1-2 | — |
| Debian 12 | dovecot | 1:2.3.13+dfsg1-2 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | dovecot23 | 2.3.11.3-55.1 | SUSE-SU-2021:2892-1, SUSE-SU-2021:2123-1 |
| SLES 15 SP2 | dovecot23 | 2.3.11.3-55.1 | SUSE-SU-2021:2892-1, SUSE-SU-2021:2123-1 |
| SLES 15 SP1 | dovecot23 | 2.3.11.3-24.1 | SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1 |
| SLES 15 | dovecot23 | 2.3.11.3-4.35.1 | SUSE-SU-2021:2890-1, SUSE-SU-2021:2122-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | dovecot23 | 2.3.11.3-24.1 | SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1 |
| SLES for SAP 15 | dovecot23 | 2.3.11.3-4.35.1 | SUSE-SU-2021:2890-1, SUSE-SU-2021:2122-1 |
| SLE HPC 15 SP1 | dovecot23 | 2.3.11.3-24.1 | SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1 |
| SLE HPC 15 | dovecot23 | 2.3.11.3-4.35.1 | SUSE-SU-2021:2890-1, SUSE-SU-2021:2122-1 |
| SUSE Manager Server 4.0 | dovecot23 | 2.3.11.3-24.1 | SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1 |
| SUSE Manager Retail Branch Server 4.0 | dovecot23 | 2.3.11.3-24.1 | SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1 |
| SUSE Manager Proxy 4.0 | dovecot23 | 2.3.11.3-24.1 | SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1 |
| SUSE Enterprise Storage 6 | dovecot23 | 2.3.11.3-24.1 | SUSE-SU-2021:2891-1, SUSE-SU-2021:2124-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | dovecot23 | 2.3.16-1.6 | openSUSE-SU-2024:10726-1 |
| openSUSE Tumbleweed | dovecot24 | 2.4.0-1.1 | openSUSE-SU-2025:14715-1 |
| openSUSE Leap 15.3 | dovecot23 | 2.3.11.3-55.1 | openSUSE-SU-2021:2892-1, openSUSE-SU-2021:2123-1 |
| openSUSE Leap 15.2 | dovecot23 | 2.3.11.3-lp152.2.9.1 | openSUSE-SU-2021:1225-1, openSUSE-SU-2021:0920-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | dovecot | 2.3.15-r0 | — |
| Alpine v3.23 | dovecot | 2.3.15-r0 | — |
| Alpine v3.22 | dovecot | 2.3.15-r0 | — |
| Alpine v3.21 | dovecot | 2.3.15-r0 | — |
| Alpine v3.20 | dovecot | 2.3.15-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | dovecot | 2.3.15-r0 | — |
| Alpine v3.18 | dovecot | 2.3.15-r0 | — |
| Alpine v3.17 | dovecot | 2.3.15-r0 | — |
| Alpine v3.16 | dovecot | 2.3.15-r0 | — |
| Alpine v3.15 | dovecot | 2.3.15-r0 | — |
| Alpine v3.14 | dovecot | 2.3.15-r0 | — |
| Alpine v3.13 | dovecot | 2.3.15-r0 | — |
| Alpine v3.12 | dovecot | 2.3.15-r0 | — |
| Alpine v3.11 | dovecot | 2.3.15-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | dovecot | 2.3.20-1 | — |
Advisories 13
- openSUSE-SU-2021:0920-1 Security update for dovecot23 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2124-1 Security update for dovecot23 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2122-1 Security update for dovecot23 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2123-1 Security update for dovecot23 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:2123-1 Security update for dovecot23 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14715-1 dovecot24-2.4.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2890-1 Security update for dovecot23 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2891-1 Security update for dovecot23 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1225-1 Security update for dovecot23 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:2892-1 Security update for dovecot23 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2892-1 Security update for dovecot23 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10726-1 dovecot23-2.3.16-1.6 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- WID-SEC-2022-1536 Dovecot: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 2, 2025
References
- https://dovecot.org/security
- https://www.openwall.com/lists/oss-security/2021/06/28/1
- FEDORA-2021-208340a217 vendor-advisory
- FEDORA-2021-891c1ab1ac vendor-advisory
- GLSA-202107-41 vendor-advisory