Nixpkgs security tracker

Try the new UI
Login with GitHub

Suggestion detail

Untriaged
Permalink CVE-2026-46640
8.7 HIGH
  • CVSS version (CVSS): 4.0
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Attack Requirement (AT): None (N)
  • Privileges Required (PR): Low (L)
  • User Interaction (UI): None (N)
  • Vulnerable System Impact Confidentiality (VC): High (H)
  • Vulnerable System Impact Integrity (VI): High (H)
  • Vulnerable System Impact Availability (VA): High (H)
  • Subsequent System Impact Confidentiality (SC): None (N)
  • Subsequent System Impact Integrity (SI): None (N)
  • Subsequent System Impact Availability (SA): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Attack Requirement (MAT): None (N)
  • Modified Privileges Required (MPR): Low (L)
  • Modified User Interaction (MUI): None (N)
  • Modified Vulnerable System Impact Confidentiality (MVC): High (H)
  • Modified Vulnerable System Impact Integrity (MVI): High (H)
  • Modified Vulnerable System Impact Availability (MVA): High (H)
  • Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
  • Modified Subsequent System Impact Integrity (MSI): Negligible (N)
  • Modified Subsequent System Impact Availability (MSA): Negligible (N)
  • Safety (S): Not Defined (X)
  • Automatable (AU): Not Defined (X)
  • Recovery (R): Not Defined (X)
  • Value Density (V): Not Defined (X)
  • Vulnerability Response Effort (RE): Not Defined (X)
  • Provider Urgency (U): Not Defined (X)
  • Confidentiality Req. (CR): Not Defined (X)
  • Integrity Req. (IR): Not Defined (X)
  • Availability Req. (AR): Not Defined (X)
  • Exploit Maturity (E): Not Defined (X)
created 2 months ago Activity log
  • Created suggestion
Twig: Arbitrary PHP code execution via `_self.(<string>)` macro-reference compilation

Twig is a template language for PHP. From 3.15.0 until 3.26.0, _self.(<string>) and import-alias dynamic attribute syntax can concatenate an attacker-controlled string into a MacroReferenceExpression name without identifier validation, causing raw PHP to be emitted into the generated template source and executed at template-load time. This issue is fixed in version 3.26.0.

Affected products

Twig
  • ==>= 3.15.0, < 3.26.0

Matching in nixpkgs

pkgs.twiggy

Code size profiler for Wasm

  • nixos-unstable -
    • nixos-unstable-small 0.8.0
  • nixos-26.05 -
    • nixos-26.05-small 0.8.0

pkgs.ludtwig

Linter / Formatter for Twig template files which respects HTML and your time

  • nixos-unstable -
  • nixos-26.05 -

pkgs.bitwig-studio

Digital audio workstation

  • nixos-unstable -
    • nixos-unstable-small 6.1.1
  • nixos-26.05 -
    • nixos-26.05-small 6.0.6

pkgs.bitwig-studio3

Digital audio workstation

  • nixos-unstable -
  • nixos-26.05 -

pkgs.bitwig-studio4

Digital audio workstation

  • nixos-unstable -
  • nixos-26.05 -

pkgs.bitwig-studio6

Digital audio workstation

  • nixos-unstable -
    • nixos-unstable-small 6.1.1
  • nixos-26.05 -
    • nixos-26.05-small 6.0.6

pkgs.perlPackages.XMLTwig

Perl module for processing huge XML documents in tree mode

  • nixos-unstable -
    • nixos-unstable-small 3.52
  • nixos-26.05 -
    • nixos-26.05-small 3.52

pkgs.perl5Packages.XMLTwig

Perl module for processing huge XML documents in tree mode

  • nixos-unstable -
    • nixos-unstable-small 3.52
  • nixos-26.05 -
    • nixos-26.05-small 3.52

pkgs.python313Packages.twiggy

Twiggy is the first totally new design for a logger since log4j

  • nixos-unstable -
    • nixos-unstable-small 0.5.1
  • nixos-26.05 -
    • nixos-26.05-small 0.5.1

pkgs.python314Packages.twiggy

Twiggy is the first totally new design for a logger since log4j

  • nixos-unstable -
    • nixos-unstable-small 0.5.1
  • nixos-26.05 -
    • nixos-26.05-small 0.5.1

Package maintainers