# CVE-2022-40082: Hertz contains path traversal via normalizePath function

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `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.14%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-28T13:34:02.000Z
- Modified: 2026-06-17T05:00:51.273Z
- Also known as: GHSA-c9qr-f6c8-rgxf, GO-2022-1027
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

Hertz v0.3.0 ws discovered to contain a path traversal vulnerability via the normalizePath function.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/cloudwego/hertz (Go): before 0.3.1
- cloudwego hertz: 0.3.0

## Every score

- CISA-ADP: 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`

## References

- <https://github.com/cloudwego/hertz/issues/228> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/cloudwego/hertz/pull/229> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-40082> (advisory)
- <https://github.com/cloudwego/hertz> (package)
- <https://pkg.go.dev/vuln/GO-2022-1027> (web)

## Sources

- CVE List: [CVE-2022-40082](https://www.cve.org/CVERecord?id=CVE-2022-40082), CVE Terms of Use, modified 2025-05-21
- GitHub Advisory Database: [GHSA-c9qr-f6c8-rgxf](https://github.com/advisories/GHSA-c9qr-f6c8-rgxf), CC-BY-4.0, modified 2023-11-08
- Go Vulnerability Database: [GO-2022-1027](https://pkg.go.dev/vuln/GO-2022-1027), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-40082](https://nvd.nist.gov/vuln/detail/CVE-2022-40082), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40082 · Whole record: https://cve.day/CVE-2022-40082.json · Rebuilt by cve.day 2026-11-25T22:58:15.350Z
