diff --git a/pkgs/by-name/ha/haproxy/package.nix b/pkgs/by-name/ha/haproxy/package.nix index 338cb9e06897..aeba1f57889e 100644 --- a/pkgs/by-name/ha/haproxy/package.nix +++ b/pkgs/by-name/ha/haproxy/package.nix @@ -5,6 +5,7 @@ sslLibrary ? "openssl", stdenv, lib, + fetchpatch, fetchurl, nixosTests, zlib, @@ -40,6 +41,15 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-ywGFCNBymseyaGlEqKk37a3bB0ThDNEFfdZQFQzcKD4="; }; + patches = [ + # Remove once the packaged release fixes CVE-2026-90678. + (fetchpatch { + name = "CVE-2026-90678.patch"; + url = "https://github.com/haproxy/haproxy/commit/81482d95aa6dfbd3f6eadd2f3650f256dc0b4e03.patch"; + hash = "sha256-jmupw5lPzWqutD4RpAECetFNLzXvejWS4PCoMW+ZPtM="; + }) + ]; + buildInputs = [ sslPkg zlib