Nixpkgs security tracker

Try the new UI
Login with GitHub

Suggestion detail

Untriaged
Permalink CVE-2026-34726
4.4 MEDIUM
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): Low (L)
  • Integrity (I): Low (L)
  • Availability (A): None (N)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): Low (L)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): Low (L)
  • Modified Availability (MA): None (N)
created 5 months, 3 weeks ago Activity log
  • Created suggestion
Copier `_subdirectory` allows template root escape via parent-directory traversal

Copier is a library and CLI app for rendering project templates. Prior to version 9.14.1, Copier's _subdirectory setting is documented as the subdirectory to use as the template root. However, the current implementation accepts parent-directory traversal such as .. and uses it directly when selecting the template root. As a result, a template can escape its own directory and make Copier render files from the parent directory without --UNSAFE. This issue has been patched in version 9.14.1.

Affected products

copier
  • ==< 9.14.1

Matching in nixpkgs

pkgs.copier

Library and command-line utility for rendering projects templates

  • nixos-unstable -
  • nixos-26.05 -

pkgs.apksigcopier

Copy/extract/patch android apk signatures & compare APKs

  • nixos-unstable -
    • nixos-unstable-small 1.1.1
  • nixos-26.05 -
    • nixos-26.05-small 1.1.1

pkgs.gnomeExtensions.copier

Copy text notes to clipboard via a panel indicator

  • nixos-unstable -
    • nixos-unstable-small 8
  • nixos-26.05 -
    • nixos-26.05-small 8

pkgs.python313Packages.copier

Library and command-line utility for rendering projects templates

  • nixos-unstable -
  • nixos-26.05 -

pkgs.python314Packages.copier

Library and command-line utility for rendering projects templates

  • nixos-unstable -
  • nixos-26.05 -

pkgs.gnomeExtensions.notifications-copier

Automatically copies authentication tokens, PINs, and one-time codes from GNOME notifications to the clipboard. Reads notification content to detect verification codes and OTPs without storing or transmitting data.

  • nixos-unstable -
    • nixos-unstable-small 3

Package maintainers