ADVISORIES

Vulnerability

CVE-2023-1521

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.

5 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • DEBIAN-CVE-2023-1521

    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…

    CVE-2023-1521 Debian Updated 26 October 2026
  • GHSA-x7fr-pg8f-93f5

    sccache vulnerable to privilege escalation if server is run as root

    High CVE-2023-1521 crates.io Updated 26 November 2024
  • SUSE-SU-2023:2637-1

    Security update for sccache

    CVE-2022-31394CVE-2023-1521 SUSE Updated 4 February 2026
  • SUSE-SU-2023:3526-1

    Security update for sccache

    CVE-2021-45710CVE-2022-24713CVE-2022-31394CVE-2023-1521 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-CVE-2023-1521

    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…

    CVE-2023-1521 Ubuntu Updated 17 October 2026

References