# CVE-2021-32769: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in micronaut-core

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A: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): 1.73%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-16T18:25:09.000Z
- Modified: 2026-07-08T06:28:32.850Z
- Also known as: GHSA-cjx7-399x-p2rj
- Weaknesses: CWE-22
- Assigned by: GitHub_M

## Description

Micronaut is a JVM-based, full stack Java framework designed for building JVM applications. A path traversal vulnerability exists in versions prior to 2.5.9. With a basic configuration, it is possible to access any file from a filesystem, using "/../../" in the URL. This occurs because Micronaut does not restrict file access to configured paths. The vulnerability is patched in version 2.5.9. As a workaround, do not use `**` in mapping, use only `*`, which exposes only flat structure of a directory not allowing traversal. If using Linux, another workaround is to run micronaut in chroot.

(As written by CVE List.)

## Affected

- micronaut-projects micronaut-core: < 2.5.9
- io.micronaut:micronaut-http-server-netty (Maven): before 2.5.9
- objectcomputing micronaut: before 2.5.9

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/micronaut-projects/micronaut-core/security/advisories/GHSA-cjx7-399x-p2rj> (exploit, patch, third-party-advisory, web)
- <https://github.com/micronaut-projects/micronaut-core/commit/a0cfeb13bf1ef5d692d16d4a3b91b34b7456bb11> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32769> (advisory)

## Sources

- CVE List: [CVE-2021-32769](https://www.cve.org/CVERecord?id=CVE-2021-32769), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-cjx7-399x-p2rj](https://github.com/advisories/GHSA-cjx7-399x-p2rj), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-32769](https://nvd.nist.gov/vuln/detail/CVE-2021-32769), Public domain, modified 2026-06-17

---

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