# CVE-2021-43795: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in com.linecorp.armeria:armeria

- 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.71%, higher than 78% of CVEs (2026-11-30)
- Published: 2021-12-02T18:00:11.000Z
- Modified: 2026-07-08T06:28:32.358Z
- Also known as: GHSA-8fp4-rp6c-5gcv
- Weaknesses: CWE-22
- Assigned by: GitHub_M

## Description

Armeria is an open source microservice framework. In affected versions an attacker can access an Armeria server's local file system beyond its restricted directory by sending an HTTP request whose path contains `%2F` (encoded `/`), such as `/files/..%2Fsecrets.txt`, bypassing Armeria's path validation logic. Armeria 1.13.4 or above contains the hardened path validation logic that handles `%2F` properly. This vulnerability can be worked around by inserting a decorator that performs an additional validation on the request path.

(As written by CVE List.)

## Affected

- line armeria: < 1.13.4
- com.linecorp.armeria:armeria (Maven): from 1.12.0 before 1.13.4
- linecorp armeria: before 1.13.4

## 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:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/line/armeria/security/advisories/GHSA-8fp4-rp6c-5gcv> (third-party-advisory, web)
- <https://github.com/line/armeria/pull/3855> (third-party-advisory, web)
- <https://github.com/line/armeria/commit/e2697a575e9df6692b423e02d731f293c1313284> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43795> (advisory)
- <https://github.com/line/armeria> (package)

## Sources

- CVE List: [CVE-2021-43795](https://www.cve.org/CVERecord?id=CVE-2021-43795), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-8fp4-rp6c-5gcv](https://github.com/advisories/GHSA-8fp4-rp6c-5gcv), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-43795](https://nvd.nist.gov/vuln/detail/CVE-2021-43795), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43795 · Whole record: https://cve.day/CVE-2021-43795.json · Rebuilt by cve.day 2026-11-25T22:24:36.138Z
