Security readout for executives and security teams
Plain-English summary
CVE-2021-27851 lets a local unprivileged user on a vulnerable multi-user GNU Guix system gain write access to root-owned files. This can become full local privilege escalation. It does not describe a remote internet-facing attack.
Executive priority
Treat this as high priority for shared Linux systems using GNU Guix. It is not remotely exploitable from the provided evidence, but local compromise can undermine root-owned files and system integrity.
Technical view
The issue is in guix-daemon on local multi-user setups. A failed build retained by --keep-failed can cause the daemon to change ownership across a build tree in a way that affects a hardlinked root-owned file. Vulnerable range is stated as v0.11.0-3298-g2608e40988 through before v1.2.0-75109-g94f0312546.
Likely exposure
Exposure is limited to systems running vulnerable GNU Guix guix-daemon versions in multi-user mode with local unprivileged users able to start builds.
Exploitation context
No KEV listing or provided source states active exploitation. The public advisory describes the local privilege escalation condition, but exploitation requires local user access and affected daemon behavior.
Researcher notes
CWE is listed as CWE-264. The key research focus is daemon ownership handling on retained failed build directories and hardlink behavior. Evidence is source-grounded but lacks CVSS scoring and active exploitation confirmation.
Mitigation direction
- Upgrade GNU Guix to a non-vulnerable version per the GNU advisory.
- Prioritize multi-user Guix hosts with untrusted or shared local accounts.
- Review whether guix-daemon runs locally in multi-user mode.
- Check vendor guidance before relying on configuration workarounds.
- Reduce unnecessary local build access on affected systems until upgraded.
Validation and detection
- Inventory hosts running GNU Guix and guix-daemon.
- Confirm guix-daemon version against the vulnerable revision range.
- Identify systems allowing unprivileged users to run Guix builds.
- Check whether affected systems are multi-user rather than single-user setups.
- Review patch status against the GNU Guix advisory.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-264: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupPrivilege behavior lookup
The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-27851 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Unknown
- CVSS
- Not scored
- Known Exploited
- No
- Published
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS and timeline data
No CVSS vectors or timeline events were available in the normalized CVE source material.
Source materials
- CVE List V5 sourceCVE List V5
- https://guix.gnu.org/en/blog/2021/risk-of-local-privilege-escalation-via-guix-daemon/CVE reference · x_refsource_MISC
- https://bugs.gnu.org/47229CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Permissions, Privileges, and Access Controls
Permissions, Privileges, and Access Controls represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
