Every CVE Search/ Get API key

CVE-2022-27818

Insecure temporary file usage in SWHKD

9.1 CriticalFix available

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

1.81%Up 0.9 points since Apr 9, 2022
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS 2.0
6.4 MediumAV: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
Simple-Wayland-HotKey-Daemon
crates.io
before 1.2.0
1.2.0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

MoveEnter Open