Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Mozilla | sccache | < 0.4.0 | 0.4.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sccache | 0.5.3-1 | — |
| Debian 13 | sccache | 0.5.3-1 | — |
| Debian 12 | sccache | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | sccache | No fix yet | — |
| Ubuntu 26.04 LTS | sccache | No fix yet | — |
| Ubuntu 25.10 | sccache | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | sccache | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | sccache | 0.4.1~18-150300.7.12.1 | SUSE-SU-2023:3526-1, SUSE-SU-2023:2637-1 |
| SLES 15 SP4 | sccache | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
| SLES 15 SP3 | sccache | 0.4.1~18-150300.7.12.1 | SUSE-SU-2023:2637-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | sccache | 0.4.1~18-150300.7.12.1 | SUSE-SU-2023:2637-1 |
| SLE Real Time 15 SP3 | sccache | 0.4.1~18-150300.7.12.1 | SUSE-SU-2023:2637-1 |
| SLE HPC 15 SP3 | sccache | 0.4.1~18-150300.7.12.1 | SUSE-SU-2023:2637-1 |
| SUSE Enterprise Storage 7.1 | sccache | 0.4.1~18-150300.7.12.1 | SUSE-SU-2023:2637-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | sccache | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
| openSUSE Leap 15.4 | sccache | 0.4.2~3-150400.3.3.1 | SUSE-SU-2023:3526-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
rubbxalc/CVE-2023-1521 ★ 0 · Nov 15, 2023
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | sccache | < 0.4.0 | 0.4.0 | GHSA-x7fr-pg8f-93f5 |
Advisories 2
- SUSE-SU-2023:3526-1 Security update for sccache SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2637-1 Security update for sccache SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://securitylab.github.com/advisories/GHSL-2023-046_ScCache third-party-advisory
- https://github.com/advisories/GHSA-x7fr-pg8f-93f5 vendor-advisory