A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-8467

CVE-2026-8467: Phoenix Storybook RCE Vulnerability

CVE-2026-8467 is a remote code execution vulnerability in Phoenix Storybook that allows unauthenticated attackers to execute arbitrary code via template injection. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-8467 Overview

CVE-2026-8467 is a critical code injection vulnerability [CWE-94] in the phenixdigital/phoenix_storybook library for Elixir/Phoenix applications. The flaw allows unauthenticated attackers to achieve remote code execution through unsanitized attribute value interpolation in HEEx template generation. The psb-assign WebSocket event handler accepts arbitrary attribute names and values from clients without authentication, and these values are interpolated into a HEEx template that is compiled and executed server-side. Affected versions span phoenix_storybook 0.5.0 up to but not including 1.1.0.

Critical Impact

Unauthenticated network attackers can execute arbitrary Elixir code on the server with full Kernel imports and no sandbox, leading to complete system compromise.

Affected Products

  • phenixdigital/phoenix_storybook versions 0.5.0 through 1.0.x
  • Phoenix applications mounting the storybook playground in development or production
  • Elixir/Erlang services exposing the PlaygroundPreviewLive LiveView endpoint

Discovery Timeline

  • 2026-05-20 - CVE-2026-8467 published to NVD
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-8467

Vulnerability Analysis

The vulnerability resides in the playground rendering pipeline of phoenix_storybook. The psb-assign WebSocket event handler in Elixir.PhoenixStorybook.Story.PlaygroundPreviewLive.handle_event/3 accepts arbitrary attribute names and values from unauthenticated clients. These values are forwarded to Elixir.PhoenixStorybook.Helpers.ExtraAssignsHelpers.handle_set_variation_assign/3, which stores them verbatim without validation or escaping.

When the component is later rendered, Elixir.PhoenixStorybook.Rendering.ComponentRenderer.attributes_markup/1 interpolates binary attribute values directly into a HEEx template string in the form name="<val>". No escaping is applied to double quotes or to HEEx expression delimiters such as {...}. The resulting template is compiled via EEx.compile_string/2 and executed via Code.eval_quoted_with_env/3 with full Kernel imports and no sandbox.

Root Cause

The root cause is unsafe string concatenation when generating HEEx markup. Attacker-controlled binary values are trusted as static template fragments rather than being treated as runtime data. Because HEEx attribute interpolation ({expr}) is evaluated as inline Elixir, any injected expression delimiters break out of the attribute context and into the code-evaluation context.

Attack Vector

An attacker connects to the storybook LiveView WebSocket endpoint and sends a psb-assign event containing an attribute value such as foo" injected={EXPR} bar=". The closing quote terminates the original attribute, and {EXPR} is parsed as an inline Elixir expression. When EEx.compile_string/2 and Code.eval_quoted_with_env/3 process the template, EXPR executes on the server with full standard library access, enabling arbitrary command execution, file access, and lateral movement.

text
# Patch excerpt from .credo.exs in commit 56ab8464
           {Credo.Check.Warning.IoInspect, []},
           {Credo.Check.Warning.OperationOnSameValues, []},
           {Credo.Check.Warning.OperationWithConstantResult, []},
-          {Credo.Check.Warning.RaiseInsideRescue, []},
           {Credo.Check.Warning.SpecWithStruct, []},
           {Credo.Check.Warning.WrongTestFileExtension, []},
           {Credo.Check.Warning.UnusedEnumOperation, []},

Source: GitHub Commit 56ab8464 - the broader commit replaces unsafe HEEx attribute generation with a safe rendering path.

Detection Methods for CVE-2026-8467

Indicators of Compromise

  • Unexpected psb-assign WebSocket events containing double-quote characters or { / } sequences in attribute values.
  • Spawning of OS processes (e.g., sh, bash, curl, wget) by the Erlang/BEAM virtual machine hosting the Phoenix application.
  • Outbound network connections from the BEAM process to unfamiliar hosts shortly after storybook playground access.
  • New or modified files on disk written by the Phoenix application user without a corresponding deployment.

Detection Strategies

  • Inspect Phoenix LiveView logs for handle_event/3 calls to psb-assign with non-printable or template-delimiter characters in payloads.
  • Add runtime instrumentation around EEx.compile_string/2 invocations to flag templates containing unexpected expression blocks.
  • Monitor for the storybook route (typically /storybook) being exposed on production hosts where it should be disabled.

Monitoring Recommendations

  • Alert on child processes of the BEAM VM that are not part of normal application behavior.
  • Track WebSocket frames to LiveView endpoints for anomalous payload structure or size.
  • Review HTTP access logs for unauthenticated traffic to storybook routes from external IP ranges.

How to Mitigate CVE-2026-8467

Immediate Actions Required

  • Upgrade phoenix_storybook to version 1.1.0 or later by updating mix.exs and running mix deps.update phoenix_storybook.
  • Remove or gate the storybook router mount in any non-development environment until the upgrade is verified.
  • Audit application logs for prior psb-assign events containing HEEx delimiters such as { or stray " characters.
  • Rotate secrets, API tokens, and credentials stored in environment variables on any host where the playground was exposed to untrusted networks.

Patch Information

The maintainers fixed the issue in phoenix_storybook 1.1.0. The fix is referenced in GitHub Commit 56ab8464, with full details in GHSA-55hg-8qxv-qj4p and the Erlang Ecosystem Foundation CNA advisory. The patch replaces direct string interpolation in attributes_markup/1 with a safe rendering path that prevents attacker-controlled values from being parsed as HEEx expressions.

Workarounds

  • Restrict the storybook route to authenticated administrative users via a Plug pipeline that enforces authentication and authorization before reaching PlaygroundPreviewLive.
  • Disable the storybook mount entirely in production by guarding the router entry with if Mix.env() == :dev.
  • Place the storybook endpoint behind a network ACL or VPN so unauthenticated clients cannot reach the LiveView WebSocket.
bash
# Update phoenix_storybook to the patched release
mix deps.update phoenix_storybook
mix deps.get
mix compile --force

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechPhoenix Storybook

  • SeverityCRITICAL

  • CVSS Score9.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • CNA CVE-2026-8467

  • GitHub Commit Update

  • GitHub Security Advisory GHSA-55hg-8qxv-qj4p

  • OSV Vulnerability EEF-CVE-2026-8467
  • Related CVEs
  • CVE-2026-8469: Phoenix Storybook DoS Vulnerability

  • CVE-2026-47068: Phoenix Storybook Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English