CVE-2022-27818
Insecure temporary file usage in SWHKD
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.1
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
- Record
CVE-2022-27818- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - CVSS 2.0
- 6.4 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:P - Weakness
- CWE-668
- Updated
- 2026-11-02
CVE List No score
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
- Record
CVE-2022-27818- Updated
- 2026-11-02
EUVDEUVD-2022-1822 No score
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
- Record
EUVD-2022-1822- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r3r5-jhw6-4634
9.1
Insecure temporary file usage in SWHKD
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
- Record
GHSA-r3r5-jhw6-4634- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-668
- Updated
- 2026-11-02
OSVGHSA-r3r5-jhw6-4634
9.1
Insecure temporary file usage in SWHKD
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
- Record
GHSA-r3r5-jhw6-4634- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Weakness
- CWE-668
- Updated
- 2026-11-02
OSV No score
SWHKD 1.1.5 unsafely uses the /tmp/swhkd.sock pathname. There can be an information leak or denial of service.
- Record
CVE-2022-27818- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
Simple-Wayland-HotKey-Daemoncrates.io |
before 1.2.0 | 1.2.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-27818 is a critical vulnerability (CVSS 9.1) in Waycrate Swhkd, published April 7, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.81%, the 78th percentile. Fixed in Simple-Wayland-HotKey-Daemon 1.2.0.
References
github.com/waycrate/swhkd/releases
github.com/waycrate/swhkd/commit/f70b99dd575fab79d8a942111a6980431f006818
openwall.com/lists/oss-security/2022/04/14/1
nvd.nist.gov/vuln/detail/CVE-2022-27818
github.com/waycrate/swhkd/releases/tag/1.2.0
github.com/advisories/GHSA-r3r5-jhw6-4634
github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27818.json
github.com/waycrate/swhkd