# Security

**URL:** https://discourse.nixos.org/c/announcements/security/56.md

[Latest](https://discourse.nixos.org/latest.md) · [Categories](https://discourse.nixos.org/categories.md)

---

## [About the Security category](https://discourse.nixos.org/t/about-the-security-category/48221)

<div class="topic-metadata">

**Author:** [@hexa](https://discourse.nixos.org/u/hexa)\
**Replies:** 0

</div>

This category is here for tracking security advisories. Subscribe to it, if you want to stay in the loop about actionable announcements to keep your systems safe.

---

## [Recent security vulnerabilities in Hydra](https://discourse.nixos.org/t/recent-security-vulnerabilities-in-hydra/80913)

<div class="topic-metadata">

**Author:** [@Ericson2314](https://discourse.nixos.org/u/Ericson2314)\
**Replies:** 1\
**Last updated:** [November 17, 2026, 9:55pm UTC](https://discourse.nixos.org/t/recent-security-vulnerabilities-in-hydra/80913 "2026-11-17T21:55:26Z")

</div>

Path traversal in \`/log\` endpoint: arbitrary file read under \`$HYDRA\_DATA\` · Advisory · NixOS/hydra · GitHub Stored XSS via the homepage links of projects/packages · Advisory · NixOS/hydra · GitHub were disclosed today…

---

## [Security Advisory: \`darwin.linux-builder\` leaks its SSH private key into the Nix store and exposes its SSH port to the network](https://discourse.nixos.org/t/security-advisory-darwin-linux-builder-leaks-its-ssh-private-key-into-the-nix-store-and-exposes-its-ssh-port-to-the-network/81001)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 0\
**Last updated:** [November 6, 2026, 5:31pm UTC](https://discourse.nixos.org/t/security-advisory-darwin-linux-builder-leaks-its-ssh-private-key-into-the-nix-store-and-exposes-its-ssh-port-to-the-network/81001 "2026-11-06T17:31:14Z")

</div>

Summary Two issues in the macOS Linux builder (darwin.linux-builder, darwin.linux-builder-x86\_64, darwin.linux-builder-vz and nix-darwin’s nix.linux-builder) let other users gain trusted access to the builder VM and pois…

---

## [Security advisory for Nix and Lix - October 2026](https://discourse.nixos.org/t/security-advisory-for-nix-and-lix-october-2026/80547)

<div class="topic-metadata">

**Author:** [@RaitoBezarius](https://discourse.nixos.org/u/RaitoBezarius)\
**Replies:** 6\
**Last updated:** [October 15, 2026, 6:06pm UTC](https://discourse.nixos.org/t/security-advisory-for-nix-and-lix-october-2026/80547 "2026-10-15T18:06:45Z")

</div>

Summary Nix and Lix are affected by a set of issues that can be combined to achieve root privilege escalation. These issues are identified as: CVE-2026-110449 — an unsigned integer overflow when allocating Nix lists,…

---

## [Security Advisory: \`makeBinaryWrapper\`: empty PATH segments enable current-directory hijacking](https://discourse.nixos.org/t/security-advisory-makebinarywrapper-empty-path-segments-enable-current-directory-hijacking/80546)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 1\
**Last updated:** [October 13, 2026, 4:34pm UTC](https://discourse.nixos.org/t/security-advisory-makebinarywrapper-empty-path-segments-enable-current-directory-hijacking/80546 "2026-10-13T16:34:14Z")

</div>

Summary makeBinaryWrapper/makeCWrapper implements --prefix/ --suffix by concatenating the given value onto a search-path environment variable (PATH, LD\_LIBRARY\_PATH…) without checking whether that value is empty. When t…

---

## [Security Advisory: \`services.mysql\` is configured with insecure authentication by default when used with \`mysql\` or \`percona-server\`](https://discourse.nixos.org/t/security-advisory-services-mysql-is-configured-with-insecure-authentication-by-default-when-used-with-mysql-or-percona-server/78525)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 0\
**Last updated:** [June 24, 2026, 3:34pm UTC](https://discourse.nixos.org/t/security-advisory-services-mysql-is-configured-with-insecure-authentication-by-default-when-used-with-mysql-or-percona-server/78525 "2026-06-24T15:34:13Z")

</div>

Summary The NixOS module for MySQL services.mysql initializes the MySQL database in a way that allows local users (e.g. unprivileged web/CGI processes on the same host, but not remote users) to log in as the root user wi…

---

## [Security Advisory: Local privilege escalation in Lix and Nix](https://discourse.nixos.org/t/security-advisory-local-privilege-escalation-in-lix-and-nix/77407)

<div class="topic-metadata">

**Author:** [@RaitoBezarius](https://discourse.nixos.org/u/RaitoBezarius)\
**Replies:** 6\
**Last updated:** [May 9, 2026, 11:41am UTC](https://discourse.nixos.org/t/security-advisory-local-privilege-escalation-in-lix-and-nix/77407 "2026-05-09T11:41:36Z")

</div>

Summary Nix and Lix daemon implementations are affected by buffer overflows vulnerabilities that allow a local attacker to gain arbitrary code execution as the daemon user (root in multi-user installations). The vulnera…

---

## [Nix security advisory: Privilege escalation via symlink following during FOD output registration](https://discourse.nixos.org/t/nix-security-advisory-privilege-escalation-via-symlink-following-during-fod-output-registration/76900)

<div class="topic-metadata">

**Author:** [@xokdvium](https://discourse.nixos.org/u/xokdvium)\
**Replies:** 32\
**Last updated:** [April 10, 2026, 5:54am UTC](https://discourse.nixos.org/t/nix-security-advisory-privilege-escalation-via-symlink-following-during-fod-output-registration/76900 "2026-04-10T05:54:53Z")

</div>

Summary Nix daemon is vulnerable to arbitrary file overwrites as the daemon user (root on NixOS and in multi-user installations). The issue is identified as GHSA-g3g9-5vj6-r3gj and CVE-2026-39860. All users allowed to s…

---

## [Security Advisory: Privilege escalation to the \`CAP\_NET\_RAW\` capability via the \`programs.captive-browser\` NixOS module (CVE-2026-25740)](https://discourse.nixos.org/t/security-advisory-privilege-escalation-to-the-cap-net-raw-capability-via-the-programs-captive-browser-nixos-module-cve-2026-25740/75162)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 0\
**Last updated:** [February 9, 2026, 3:20pm UTC](https://discourse.nixos.org/t/security-advisory-privilege-escalation-to-the-cap-net-raw-capability-via-the-programs-captive-browser-nixos-module-cve-2026-25740/75162 "2026-02-09T15:20:50Z")

</div>

Summary When programs.captive-browser is enabled, any user of the system can run arbitrary commands with the CAP\_NET\_RAW capability (binding to privileged ports, spoofing localhost traffic from privileged services…). Am…

---

## [Security Advisory: Database and filestore publicly accessible with default Odoo configuration (CVE-2026-25137)](https://discourse.nixos.org/t/security-advisory-database-and-filestore-publicly-accessible-with-default-odoo-configuration-cve-2026-25137/74894)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 0\
**Last updated:** [January 31, 2026, 5:22pm UTC](https://discourse.nixos.org/t/security-advisory-database-and-filestore-publicly-accessible-with-default-odoo-configuration-cve-2026-25137/74894 "2026-01-31T17:22:44Z")

</div>

Summary Every NixOS based Odoo setup publicly exposes the database manager without any authentication. This allows unauthorized actors to delete and download the entire database, including Odoos file store. Am I affecte…

---

## [Security Advisory: SQLite database externally accessible with the default settings of Tandoor Recipes module (CVE-2026-23838)](https://discourse.nixos.org/t/security-advisory-sqlite-database-externally-accessible-with-the-default-settings-of-tandoor-recipes-module-cve-2026-23838/74488)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 0\
**Last updated:** [January 19, 2026, 5:57pm UTC](https://discourse.nixos.org/t/security-advisory-sqlite-database-externally-accessible-with-the-default-settings-of-tandoor-recipes-module-cve-2026-23838/74488 "2026-01-19T17:57:18Z")

</div>

Summary When using the default configuration of Tandoor Recipes NixOs module, specifically using SQLite and default MEDIA\_ROOT, the full database file may be externally accessible, potentially on the Internet. Am I affe…

---

## [Pre-disclosure announcement: Security Advisory for Hydra on August 12, 2025](https://discourse.nixos.org/t/pre-disclosure-announcement-security-advisory-for-hydra-on-august-12-2025/67615)

<div class="topic-metadata">

**Author:** [@das\_j](https://discourse.nixos.org/u/das_j)\
**Replies:** 6\
**Last updated:** [August 12, 2025, 10:12am UTC](https://discourse.nixos.org/t/pre-disclosure-announcement-security-advisory-for-hydra-on-august-12-2025/67615 "2025-08-12T10:12:27Z")

</div>

The next tuesday, at 2025-08-12T10:00:00Z (UTC), the Hydra team will disclose security vulnerabilities. This disclosure has been communicated to the Infra team and they will handle https://hydra.nixos.org accordingly. S…

---

## [Critical security issue in Nix 2.30 on macOS](https://discourse.nixos.org/t/critical-security-issue-in-nix-2-30-on-macos/66506)

<div class="topic-metadata">

**Author:** [@K900](https://discourse.nixos.org/u/K900)\
**Replies:** 3\
**Last updated:** [July 16, 2025, 10:50pm UTC](https://discourse.nixos.org/t/critical-security-issue-in-nix-2-30-on-macos/66506 "2025-07-16T22:50:26Z")

</div>

There is a critical security issue in Nix 2.30 on macOS (and FreeBSD) platforms, where any user with permission to execute builds can trivially escalate to nix-daemon, i.e. root. See Address ifdef problem with macOS/BSD…

---

## [Security Advisory: Privilege Escalations in Nix, Lix and Guix](https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 44\
**Last updated:** [July 15, 2025, 11:02pm UTC](https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017 "2025-07-15T23:02:41Z")

</div>

Summary This advisory follows up on the pre-announcement made last week. Nix and Lix are affected by a set of issues that can be combined to achieve root privilege escalation. These issues are identified as: CVE-2025-…

---

## [Pre-disclosure announcement: Security Advisory for Nix and Lix on June 24, 2025](https://discourse.nixos.org/t/pre-disclosure-announcement-security-advisory-for-nix-and-lix-on-june-24-2025/65831)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 20\
**Last updated:** [June 24, 2025, 3:00pm UTC](https://discourse.nixos.org/t/pre-disclosure-announcement-security-advisory-for-nix-and-lix-on-june-24-2025/65831 "2025-06-24T15:00:39Z")

</div>

Hello everyone, This post is a pre-disclosure announcement for upcoming security releases of Nix and Lix. The Snyk Security Labs team has identified and reported the vulnerabilities that will be fixed by these releases…

---

## [Firefox 138.0.4/128.10.1esr (Pwn2Own Releases)](https://discourse.nixos.org/t/firefox-138-0-4-128-10-1esr-pwn2own-releases/64442)

<div class="topic-metadata">

**Author:** [@bme](https://discourse.nixos.org/u/bme)\
**Replies:** 3\
**Last updated:** [May 20, 2025, 6:47pm UTC](https://discourse.nixos.org/t/firefox-138-0-4-128-10-1esr-pwn2own-releases/64442 "2025-05-20T18:47:40Z")

</div>

Seems like it’s worth mentioning here that as soon as the builds lands people should be upgrading.

---

## [Security Advisory: Local privilege escalation in make-initrd-ng (CVE-2025-32438)](https://discourse.nixos.org/t/security-advisory-local-privilege-escalation-in-make-initrd-ng-cve-2025-32438/63315)

<div class="topic-metadata">

**Author:** [@ElvishJerricco](https://discourse.nixos.org/u/ElvishJerricco)\
**Replies:** 6\
**Last updated:** [April 22, 2025, 11:06pm UTC](https://discourse.nixos.org/t/security-advisory-local-privilege-escalation-in-make-initrd-ng-cve-2025-32438/63315 "2025-04-22T23:06:16Z")

</div>

Summary From the report: An unprivileged process with filesystem access can become root during system shutdown A local attacker can write to /run/initramfs, because the directory permissions are unsafe. The systemd…

---

## [Security Advisory: Kanidm Provisioned Admin Credentials Leaked into System Log (CVE-2025-30205)](https://discourse.nixos.org/t/security-advisory-kanidm-provisioned-admin-credentials-leaked-into-system-log-cve-2025-30205/62128)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 0\
**Last updated:** [March 24, 2025, 9:29pm UTC](https://discourse.nixos.org/t/security-advisory-kanidm-provisioned-admin-credentials-leaked-into-system-log-cve-2025-30205/62128 "2025-03-24T21:29:52Z")

</div>

Am I Affected? You are affected if you use the nixpkgs package kanidmWithSecretProvisioning and have provisioned the admin or idm\_admin credentials via secret provisioning. This is the case if you have enabled the NixOS …

---

## [cups, cups-filters and libppd security issues](https://discourse.nixos.org/t/cups-cups-filters-and-libppd-security-issues/52780)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 1\
**Last updated:** [September 27, 2024, 3:42pm UTC](https://discourse.nixos.org/t/cups-cups-filters-and-libppd-security-issues/52780 "2024-09-27T15:42:48Z")

</div>

A series of vulnerabilities have been found in cups-browsed and cups-filters allowing for unauthenticated remote code execution. The upstream advisories are CVE-2024-47176 in cups-browsed, CVE-2024-47175 in libppd, CV…

---

## [Security Advisory: Unsafe handling of credentials in \`pkgs.fetchurl\`](https://discourse.nixos.org/t/security-advisory-unsafe-handling-of-credentials-in-pkgs-fetchurl/52767)

<div class="topic-metadata">

**Author:** [@hexa](https://discourse.nixos.org/u/hexa)\
**Replies:** 0\
**Last updated:** [September 26, 2024, 8:57pm UTC](https://discourse.nixos.org/t/security-advisory-unsafe-handling-of-credentials-in-pkgs-fetchurl/52767 "2024-09-26T20:57:01Z")

</div>

Summary pkgs.fetchurl from nixpkgs does not verify TLS certificates when downloading content with a known hash. This is particularly problematic when downloading content that requires authentication as the credentials …

---

## [Nix 2.24.8 released fixing builtin:fetchurl credentials leak, severity 5.9 (moderate)](https://discourse.nixos.org/t/nix-2-24-8-released-fixing-builtin-fetchurl-credentials-leak-severity-5-9-moderate/52732)

<div class="topic-metadata">

**Author:** [@cafkafk](https://discourse.nixos.org/u/cafkafk)\
**Replies:** 16\
**Last updated:** [September 26, 2024, 10:55pm UTC](https://discourse.nixos.org/t/nix-2-24-8-released-fixing-builtin-fetchurl-credentials-leak-severity-5-9-moderate/52732 "2024-09-26T22:55:39Z")

</div>

DetSys seems to have made a security release to NixCpp. The primary risk is leaking of netrc credentials through a crafted derivation plus an attacker-in-the-middle. Users of the experimental feature impure-derivations …

---

## [Security Advisory: Environment variables accessible during a build might be world readable](https://discourse.nixos.org/t/security-advisory-environment-variables-accessible-during-a-build-might-be-world-readable/52601)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 0\
**Last updated:** [September 24, 2024, 6:56am UTC](https://discourse.nixos.org/t/security-advisory-environment-variables-accessible-during-a-build-might-be-world-readable/52601 "2024-09-24T06:56:38Z")

</div>

Impact nixpkgs exposes the environment variables accessible during a build in an env-vars file to aid in debugging broken builds. If the temporary build directory is world-readable, the generated env-vars file is also a…

---

## [Vulnerability in Nix 2.24](https://discourse.nixos.org/t/vulnerability-in-nix-2-24/51902)

<div class="topic-metadata">

**Author:** [@raboof](https://discourse.nixos.org/u/raboof)\
**Replies:** 7\
**Last updated:** [September 17, 2024, 8:51pm UTC](https://discourse.nixos.org/t/vulnerability-in-nix-2-24/51902 "2024-09-17T20:51:03Z")

</div>

There’s a vulnerability in Nix 2.24. If you’re using the regular nix from nixpkgs (which the vast majority of users will be), you’re still on a safe version. If you recently (after August 1st) installed nix using the ni…

---

## [Security advisory: Sensitive Data Exposure via \`services.prometheus.exporters.pgbouncer\`](https://discourse.nixos.org/t/security-advisory-sensitive-data-exposure-via-services-prometheus-exporters-pgbouncer/51978)

<div class="topic-metadata">

**Author:** [@Ma27](https://discourse.nixos.org/u/Ma27)\
**Replies:** 1\
**Last updated:** [September 11, 2024, 1:34pm UTC](https://discourse.nixos.org/t/security-advisory-sensitive-data-exposure-via-services-prometheus-exporters-pgbouncer/51978 "2024-09-11T13:34:23Z")

</div>

Summary It’s possible to define the connection string for the pgbouncer instance via the option services.prometheus.exporters.pgbouncer.connectionStringFile. The option is supposed to point to a file that will be read …

---

## [Security advisory: local privilege escalation in the fcgiwrap NixOS module (also affecting the cgit, smokeping, and zoneminder modules)](https://discourse.nixos.org/t/security-advisory-local-privilege-escalation-in-the-fcgiwrap-nixos-module-also-affecting-the-cgit-smokeping-and-zoneminder-modules/51419)

<div class="topic-metadata">

**Author:** [@euxane](https://discourse.nixos.org/u/euxane)\
**Replies:** 0\
**Last updated:** [August 31, 2024, 3:05pm UTC](https://discourse.nixos.org/t/security-advisory-local-privilege-escalation-in-the-fcgiwrap-nixos-module-also-affecting-the-cgit-smokeping-and-zoneminder-modules/51419 "2024-08-31T15:05:19Z")

</div>

Summary A combination of issues has been identified in the NixOS fcgiwrap module (services.fcgiwrap.\*), permitting Local Privilege Escalations when the module is enabled (directly or indirecty through other modules). T…

---

## [Security advisory: Missing authentication in Hydra when triggering evaluations](https://discourse.nixos.org/t/security-advisory-missing-authentication-in-hydra-when-triggering-evaluations/51262)

<div class="topic-metadata">

**Author:** [@das\_j](https://discourse.nixos.org/u/das_j)\
**Replies:** 0\
**Last updated:** [August 28, 2024, 12:42am UTC](https://discourse.nixos.org/t/security-advisory-missing-authentication-in-hydra-when-triggering-evaluations/51262 "2024-08-28T00:42:10Z")

</div>

The Hydra package suffers from missing authentication when triggering an evaluation, potentially causing a denial of service when triggered. Details about the vulnerability can be found on GitHub.

---

## [Security Advisory: Hardcoded default password for the root user in NixOS OpenStack configuration module](https://discourse.nixos.org/t/security-advisory-hardcoded-default-password-for-the-root-user-in-nixos-openstack-configuration-module/50802)

<div class="topic-metadata">

**Author:** [@tgerbet](https://discourse.nixos.org/u/tgerbet)\
**Replies:** 0\
**Last updated:** [August 18, 2024, 6:00pm UTC](https://discourse.nixos.org/t/security-advisory-hardcoded-default-password-for-the-root-user-in-nixos-openstack-configuration-module/50802 "2024-08-18T18:00:51Z")

</div>

Description The NixOS OpenStack configuration module used an hardcoded value for the users.users.root.initialPassword setting. If the password is not modified, local users can access the root account. Accessing the roo…

---

## [Security advisory: Graphical installer disk encryption bug regression on legacy BIOS systems using manual partitioning (CVE-2024-43378 / GHSA-vfxf-gpmj-2p25)](https://discourse.nixos.org/t/security-advisory-graphical-installer-disk-encryption-bug-regression-on-legacy-bios-systems-using-manual-partitioning-cve-2024-43378-ghsa-vfxf-gpmj-2p25/50665)

<div class="topic-metadata">

**Author:** [@emily](https://discourse.nixos.org/u/emily)\
**Replies:** 3\
**Last updated:** [August 16, 2024, 12:11am UTC](https://discourse.nixos.org/t/security-advisory-graphical-installer-disk-encryption-bug-regression-on-legacy-bios-systems-using-manual-partitioning-cve-2024-43378-ghsa-vfxf-gpmj-2p25/50665 "2024-08-16T00:11:12Z")

</div>

We have released the CVE-2024-43378 / GHSA-vfxf-gpmj-2p25 advisory about a disk encryption bug regression in the NixOS graphical installer under specific configurations. Impact Users who installed NixOS through the grap…

---

## [Several information leaks fixed in Vaultwarden 1.32.0](https://discourse.nixos.org/t/several-information-leaks-fixed-in-vaultwarden-1-32-0/50500)

<div class="topic-metadata">

**Author:** [@Sandro](https://discourse.nixos.org/u/Sandro)\
**Replies:** 0\
**Last updated:** [August 12, 2024, 10:44am UTC](https://discourse.nixos.org/t/several-information-leaks-fixed-in-vaultwarden-1-32-0/50500 "2024-08-12T10:44:33Z")

</div>

The 1.32.0 release of vaultwarden fixed several information leaks. See Release 1.32.0 · dani-garcia/vaultwarden · GitHub for more details. You can follow the update progress here for unstable vaultwarden: 1.31.0 -\> 1.32…

---

## [Security advisory: OpenSSH CVE-2024-6387 “regreSSHion” – update your servers ASAP](https://discourse.nixos.org/t/security-advisory-openssh-cve-2024-6387-regresshion-update-your-servers-asap/48220)

<div class="topic-metadata">

**Author:** [@emily](https://discourse.nixos.org/u/emily)\
**Replies:** 36\
**Last updated:** [July 14, 2024, 2:08pm UTC](https://discourse.nixos.org/t/security-advisory-openssh-cve-2024-6387-regresshion-update-your-servers-asap/48220 "2024-07-14T14:08:09Z")

</div>

A critical‐severity OpenSSH security vulnerability has been disclosed that can lead to remote code execution as root. We have fixed this by upgrading OpenSSH on unstable and backporting a patch fix from upstream to 24.05…

[Next page](https://discourse.nixos.org/c/announcements/security/56.md?page=1)
