What’s Vulnerable › Vulnerabilities
CVE-2022-31149: ActivityWatch vulnerable to DNS rebinding attack
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-09-07 · updated 2026-06-17
- Weakness: CWE-290
Description
ActivityWatch open-source automated time tracker. Versions prior to 0.12.0b2 are vulnerable to DNS rebinding attacks. This vulnerability impacts everyone running ActivityWatch and gives the attacker full access to the ActivityWatch REST API. Users should upgrade to v0.12.0b2 or later to receive a patch. As a workaround, block DNS lookups that resolve to 127.0.0.1.
Affected products
- activitywatch: before 0.12.0; 0.12.0-beta1 — fixed in 0.12.0
How to fix
Upgrade to a fixed version: activitywatch 0.12.0. Check the vendor advisory for mitigations.
References
- https://gist.github.com/zozs/fdebbce75fc8538c15851b46db944a16
- https://github.com/ActivityWatch/activitywatch/discussions/778
- https://github.com/ActivityWatch/activitywatch/security/advisories/GHSA-v9fg-6g9j-h4x4
- https://gist.github.com/zozs/fdebbce75fc8538c15851b46db944a16
- https://github.com/ActivityWatch/activitywatch/discussions/778
- https://github.com/ActivityWatch/activitywatch/security/advisories/GHSA-v9fg-6g9j-h4x4
Get alerted when CVE-2022-31149 or the next vulnerability affects your stack