# CVE-2022-28814: Path traversal in Carlo Gavazzi UWP 3.0 could lead to full device access


- **Severity:** Critical 9.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 28 Sep 2022
- **Updated:** 20 May 2025
- **Also known as:** GHSA-jhgj-cw4j-x999

## What is CVE-2022-28814?

CVE-2022-28814 is a critical vulnerability in Carlo Gavazzi CPY Car Park Server, published on 28 Sep 2022. 

### Official description

Carlo Gavazzi UWP3.0 in multiple versions and CPY Car Park Server in Version 2.8.3 was discovered to be vulnerable to a relative path traversal vulnerability which enables remote attackers to read arbitrary files and gain full control of the device.

Weakness: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), CWE-23 (Relative Path Traversal)

## Which versions are affected by CVE-2022-28814?

It affects 2 products.


Products: Gavazziautomation Cpy Car Park Server, Gavazziautomation Uwp 3.0 Monitoring Gateway and Controller Firmware.

## How do I fix CVE-2022-28814?

No fix has been published for CVE-2022-28814 yet. Limit exposure of the affected software until one is available.

## Is CVE-2022-28814 being exploited?

There is no known exploitation of CVE-2022-28814 in the wild and no public exploit code.

## Other vulnerabilities in Carlo Gavazzi CPY Car Park Server

- [CVE-2022-22522](https://insights.sbomify.com/CVE-2022-22522/): Hard-coded credentials in Carlo Gavazzi UWP3.0 allows for authentication bypass and full control of the device (critical 9.8)
- [CVE-2022-22526](https://insights.sbomify.com/CVE-2022-22526/): Missing authentication for API in Carlo Gavazzi UWP 3.0 Car Park Server (critical 9.8)
- [CVE-2022-28811](https://insights.sbomify.com/CVE-2022-28811/): Possible command injection in Car Park Server in Carlo Gavazzi UWP3.0 (critical 9.8)
- [CVE-2022-28812](https://insights.sbomify.com/CVE-2022-28812/): Use of Hard-coded Credentials in UWP3.0 allows SuperUser authentication bypass in Car Park Server. (critical 9.8)
- [CVE-2022-22524](https://insights.sbomify.com/CVE-2022-22524/): SQL-injection in Carlo Gavazzi UWP 3.0 allows for full database access (critical 9.4)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2022-28814 and fix it if it is affected.

What it is: CVE-2022-28814 is a critical vulnerability in Carlo Gavazzi CPY Car Park Server, published on 28 Sep 2022. 
Exploitation: There is no known exploitation of CVE-2022-28814 in the wild and no public exploit code.

Affected product: Carlo Gavazzi CPY Car Park Server. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2022-28814/ (Markdown: https://insights.sbomify.com/CVE-2022-28814/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2022-28814
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2022-28814
- OSV: https://osv.dev/vulnerability/CVE-2022-28814

---
From sbomify Insights: https://insights.sbomify.com/CVE-2022-28814/
Summaries are generated and may contain mistakes; the official description above is the record.
