Code executionin Mozilla sccache.
Proof of concept public (GitHub).
On Linux the sccache client can execute arbitrary code with the privileges of a local sccache server, by preloading the code in a shared library passed to LD_PRELOAD. If the server is run as root (which is the default when installing the snap package https://snapcraft.io/sccache ), this means a user running the sccache client can get root privileges.
- Upgrade sccache to 0.4.0 or later.
- Upgrade sccache (crates.io) to 0.4.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 20 Mar 2023CVE ID reserved by mozilla.
- 15 Nov 2023First public proof of concept on GitHub.
- 26 Nov 2024Published in the CVE List.
- 26 Nov 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Same weakness: Untrusted search path
- securitylab.github.com third-party-advisory
- github.com vendor-advisory
Patchminder. CVE-2023-1521: Code execution in Mozilla sccache. https://patchminder.com/cve/cve-2023-1521/ (accessed 5 December 2026).