CVE-2026-8467
published critical CVSS 4.0 · 9.5Unauthenticated remote code execution via HEEx template injection in phoenix_storybook playground
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| phenixdigital | — | phoenix_storybook0.5.0 to < 1.1.0 · Other versions: unaffected | Affected | Not stated | EEF |
| phenixdigital | — | phx_live_storybookphoenix_storybook · 0.3.0 and later · Other versions: unaffected | Affected | Not stated | EEF |
| phenixdigital | — | phenixdigital/phoenix_storybookphoenix_storybook · e35379dfe2ef1a71b141899e36f431017c55265d to < 56ab8464d4375fa52db806148a06cce126ad481d · Other versions: unaffected | Affected | Not stated | EEF |
Description
Code Injection vulnerability in phenixdigital phoenix_storybook allows unauthenticated remote code execution via HEEx template injection in the component playground. A client can send attribute values over the playground WebSocket. A value that closes the attribute quote and adds a HEEx expression is evaluated as Elixir code on the server. PhoenixStorybook.Story.PlaygroundPreviewLive.handle_event/3 accepts attribute names and values from the client and stores them through PhoenixStorybook.ExtraAssignsHelpers.handle_set_variation_assign/3. PhoenixStorybook.Rendering.ComponentRenderer.attributes_markup/1 interpolates string values into a HEEx template without escaping. The template is compiled with EEx.compile_string/2 and evaluated. Releases published as phx_live_storybook have the same code in the PhxLiveStorybook namespace, where the first client entry point is PhxLiveStorybook.Entry.Playground.handle_event/3. This issue affects phoenix_storybook: from 0.5.0 before 1.1.0; phx_live_storybook: from 0.3.0 onward.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.5 / 10
- Severity
- critical
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| phenixdigital | phoenix_storybook | 0.5.0 to < 1.1.0 (affected · semver)Default: unaffected | EEF · cna |
| phenixdigital | phoenix_storybook | 0.3.0 and later (affected · semver)Default: unaffected | EEF · cna |
| phenixdigital | phoenix_storybook | e35379dfe2ef1a71b141899e36f431017c55265d to < 56ab8464d4375fa52db806148a06cce126ad481d (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code
References
5- EEF CNA record for CVE-2026-8467 https://cna.erlef.org/cves/CVE-2026-8467.html
- Fix commit 56ab846 in phenixdigital/phoenix_storybook https://github.com/phenixdigital/phoenix_storybook/commit/56ab8464d4375fa52db806148a06cce126ad481d
- Introducing commit e35379d in phenixdigital/phoenix_storybook https://github.com/phenixdigital/phoenix_storybook/commit/e35379dfe2ef1a71b141899e36f431017c55265d
- Unauthenticated remote code execution via HEEx template injection in phoenix_storybook playground https://github.com/phenixdigital/phoenix_storybook/security/advisories/GHSA-55hg-8qxv-qj4p
- OSV record EEF-CVE-2026-8467 https://osv.dev/vulnerability/EEF-CVE-2026-8467
Provider assertions
2EEF · cna
Unauthenticated remote code execution via HEEx template injection in phoenix_storybook playground
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 828eb18515d0c9275794c40a8e3a96db449200fca4a787a5f8f0f7e8785022f8
- Ingested
- 20 Nov 2026, 06:29:21 UTC
- Source record
- Official CVE record