# CVE-2023-42446: Pow Mnesia cache doesn't invalidate all expired keys on startup

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/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.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-18T21:29:22.133Z
- Modified: 2026-06-17T06:23:50.820Z
- Also known as: GHSA-3cjh-p6pw-jhv9
- Weaknesses: CWE-298, CWE-672
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Pow is a authentication and user management solution for Phoenix and Plug-based apps. Starting in version 1.0.14 and prior to version 1.0.34, use of `Pow.Store.Backend.MnesiaCache` is susceptible to session hijacking as expired keys are not being invalidated correctly on startup. A session may expire when all `Pow.Store.Backend.MnesiaCache` instances have been shut down for a period that is longer than a session's remaining TTL. Version 1.0.34 contains a patch for this issue. As a workaround, expired keys, including all expired sessions, can be manually invalidated.

(As written by CVE List.)

## Affected

- pow-auth pow: >= 1.0.14, < 1.0.34
- pow (Hex): from 1.0.14 before 1.0.34
- powauth pow: from 1.0.14 before 1.0.34

## Every score

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

## References

- <https://github.com/pow-auth/pow/issues/713> (exploit, issue-tracking, web)
- <https://github.com/pow-auth/pow/security/advisories/GHSA-3cjh-p6pw-jhv9> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-42446> (advisory)
- <https://github.com/pow-auth/pow/pull/714> (web)
- <https://github.com/pow-auth/pow/commit/15dc525be03c466daa5d2119ca7acdec7b24ed17> (web)
- <https://github.com/pow-auth/pow> (package)

## Sources

- CVE List: [CVE-2023-42446](https://www.cve.org/CVERecord?id=CVE-2023-42446), CVE Terms of Use, modified 2024-09-24
- GitHub Advisory Database: [GHSA-3cjh-p6pw-jhv9](https://github.com/advisories/GHSA-3cjh-p6pw-jhv9), CC-BY-4.0, modified 2025-12-10
- NVD: [CVE-2023-42446](https://nvd.nist.gov/vuln/detail/CVE-2023-42446), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-42446 · Whole record: https://cve.day/CVE-2023-42446.json · Rebuilt by cve.day 2026-11-25T22:58:27.981Z
