# CVE-2021-22440: There is a path traversal vulnerability in some Huawei products.

- Severity: Medium 4.6 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:P/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): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2021-07-13T11:42:33.000Z
- Modified: 2026-06-17T03:37:13.887Z
- Weaknesses: CWE-22
- Assigned by: huawei

## Description

There is a path traversal vulnerability in some Huawei products. The vulnerability is due to that the software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly validate the pathname. Successful exploit could allow the attacker to access a location that is outside of the restricted directory by a crafted filename. Affected product versions include:HUAWEI Mate 20 9.0.0.195(C01E195R2P1), 9.1.0.139(C00E133R3P1);HUAWEI Mate 20 Pro 9.0.0.187(C432E10R1P16), 9.0.0.188(C185E10R2P1), 9.0.0.245(C10E10R2P1), 9.0.0.266(C432E10R1P16), 9.0.0.267(C636E10R2P1), 9.0.0.268(C635E12R1P16), 9.0.0.278(C185E10R2P1); Hima-L29C 9.0.0.105(C10E9R1P16), 9.0.0.105(C185E9R1P16), 9.0.0.105(C636E9R1P16); Laya-AL00EP 9.1.0.139(C786E133R3P1); OxfordS-AN00A 10.1.0.223(C00E210R5P1); Tony-AL00B 9.1.0.257(C00E222R2P1).

(As written by CVE List.)

## Affected

- HUAWEI Mate 20;HUAWEI Mate 20 Pro;Hima-L29C;Laya-AL00EP;OxfordS-AN00A;Tony-AL00B: 9.0.0.195(C01E195R2P1),9.1.0.139(C00E133R3P1); 9.0.0.187(C432E10R1P16),9.0.0.188(C185E10R2P1),9.0.0.245(C10E10R2P1),9.0.0.266(C432E10R1P16),9.0.0.267(C636E10R2P1),9.0.0.268(C635E12R1P16),9.0.0.278(C185E10R2P1); 9.0.0.105(C10E9R1P16),9.0.0.105(C185E9R1P16),9.0.0.105(C636E9R1P16); 9.1.0.139(C786E133R3P1); 10.1.0.223(C00E210R5P1); 9.1.0.257(C00E222R2P1)
- huawei mate_20_firmware: 9.0.0.195(c01e195r2p1); 9.1.0.139(c00e133r3p1)
- huawei mate_20_pro_firmware: 9.0.0.187(c432e10r1p16); 9.0.0.188(c185e10r2p1); 9.0.0.245(c10e10r2p1); 9.0.0.266(c432e10r1p16); 9.0.0.267(c636e10r2p1); 9.0.0.268(c635e12r1p16); 9.0.0.278(c185e10r2p1)
- huawei hima-l29c_firmware: 9.0.0.105(c10e9r1p16); 9.0.0.105(c185e9r1p16); 9.0.0.105(c636e9r1p16)
- huawei laya-al00ep_firmware: 9.1.0.139(c786e133r3p1)
- huawei oxfords-an00a_firmware: 10.1.0.223(c00e210r5p1)
- huawei tony-al00b_firmware: 9.1.0.257(c00e222r2p1)

## Every score

- NVD: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:P/AC:L/PR:N/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://www.huawei.com/en/psirt/security-advisories/huawei-sa-20210630-01-pathtraversal-en> (vendor-advisory)

## Sources

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

---

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