# CVE-2022-4968: netplan leaks the private key of wireguard to local users.

- Severity: Medium 6.5 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-07T00:14:22.528Z
- Modified: 2026-06-17T05:22:26.590Z
- Weaknesses: CWE-497
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: canonical

## Description

netplan leaks the private key of wireguard to local users. Versions after 1.0 are not affected.

(As written by CVE List.)

## Affected

- netplan.io: up to 1.0
- canonical netplan: before 1.0.1

## Every score

- canonical: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2065738> (exploit, issue-tracking, vendor-advisory)
- <https://github.com/canonical/netplan/commit/4c39b75b5c6ae7d976bda6da68da60d9a7f085ee> (patch)
- <https://bugs.launchpad.net/netplan/+bug/1987842> (issue-tracking, vendor-advisory)
- <https://www.cve.org/CVERecord?id=CVE-2022-4968> (issue-tracking, us-government-resource)

## Sources

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

---

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