Auth bypass in Stash
CVE-2024-7457
The ws.stash.app.mac.daemon.helper tool contains a vulnerability caused by an incorrect use of macOS’s authorization model. Instead of validating the client's authorization reference, the helper invokes AuthorizationCopyRights() using its own privileged context (root), effectively authorizing itself rather than the client. As a result, it grants the system.preferences.admin right internally, regardless of the requesting client's privileges. This flawed logic allows unprivileged clients to invoke privileged operations via XPC, including unauthorized changes to system-wide network preferences such as SOCKS, HTTP, and HTTPS proxy settings. The absence of proper code-signing checks further enables arbitrary processes to exploit this flaw, leading to man-in-the-middle (MITM) attacks through traffic redirection.
Vulnerability class: Broken Access Control
EPSS: 0.001 (3.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Stash — versions 0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-7457?
- CVE-2024-7457 is a high-severity vulnerability in Stash, classified under Incorrect Authorization. CVSS score: 7.8/10. Published 2025-06-11.
- How severe is CVE-2024-7457?
- High severity. CVSS v3 base score is 7.8 out of 10.