# CVE-2021-29157: Dovecot before 2.3.15 allows ../ Path Traversal.

- Severity: High 7.5 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:H/AV:L/A:N/C:H/I:H/PR:L/S:C/UI: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): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2021-06-28T11:58:41.000Z
- Modified: 2026-06-17T03:47:22.750Z
- Weaknesses: CWE-22
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- dovecot dovecot: from 2.3.11 before 2.3.14.1
- fedoraproject fedora: 33; 34

## Every score

- mitre: CVSS:3.1 7.5 High `CVSS:3.1/AC:H/AV:L/A:N/C:H/I:H/PR:L/S:C/UI:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://dovecot.org/security> (vendor-advisory)
- <https://www.openwall.com/lists/oss-security/2021/06/28/1> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JB2VTJ3G2ILYWH5Y2FTY2PUHT2MD6VMI/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TK424DWFO2TKJYXZ2H3XL633TYJL4GQN/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202107-41> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-29157](https://www.cve.org/CVERecord?id=CVE-2021-29157), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-29157](https://nvd.nist.gov/vuln/detail/CVE-2021-29157), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29157 · Whole record: https://cve.day/CVE-2021-29157.json · Rebuilt by cve.day 2026-11-25T22:58:02.340Z
