{"answers":{"affected":"3 open source packages ship an affected version, including phoenix_storybook.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8467 exists.","fix":"Upgrade phoenix_storybook to 1.1.0 or later.","what":"CVE-2026-8467 is a critical code injection vulnerability in phenixdigital phoenix_storybook, published on 20 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-8467 and fix it if it is affected.\n\nWhat it is: CVE-2026-8467 is a critical code injection vulnerability in phenixdigital phoenix_storybook, published on 20 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8467 exists.\n\nAffected packages and fixed versions:\n- phoenix_storybook (Hex): affected from 0.5.0; fixed in 1.1.0\n- phoenix_storybook (Hex): affected from 0.5.0; fixed in 1.1.0\n- phoenix_storybook (Hex): affected from 0.5.0; fixed in 1.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-8467/ (Markdown: https://insights.sbomify.com/CVE-2026-8467/index.md)","id":"CVE-2026-8467","markdown":"https://insights.sbomify.com/CVE-2026-8467/index.md","name":"CVE-2026-8467","record":{"aliases":["EEF-CVE-2026-8467","GHSA-55hg-8qxv-qj4p"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Phoenix Storybook library","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary code on the server by injecting Elixir expressions into HEEx templates via the playground WebSocket handler.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":9.5,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Code Injection vulnerability in phenixdigital phoenix_storybook allows unauthenticated remote code execution via unsanitized attribute value interpolation in HEEx template generation.\n\nThe 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 passed to 'Elixir.PhoenixStorybook.Helpers.ExtraAssignsHelpers':handle_set_variation_assign/3, which stores them verbatim. When rendering, 'Elixir.PhoenixStorybook.Rendering.ComponentRenderer':attributes_markup/1 interpolates binary attribute values directly into a HEEx template string as name=\"\u003cval\u003e\" without escaping double quotes or HEEx expression delimiters. An attacker can supply a value containing a closing quote followed by a HEEx expression block (e.g. foo\" injected={EXPR} bar=\"), which causes EXPR to be treated as an inline Elixir expression. 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, giving the attacker arbitrary code execution on the server.\n\nThis issue affects phoenix_storybook from 0.5.0 before 1.1.0.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":"2026-08-27","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-27T02:16:55Z","kind":"github_poc","ref":"https://github.com/HORKimhab/CVE-2026-8467","stars":0,"title":"CVE-2026-8467 - Draft or TODO"}],"tier":"weaponised"},"has_fix":true,"headline":"Unauthenticated remote code execution via HEEx template injection in phoenix_storybook playground","id":"CVE-2026-8467","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Unbounded buffer accumulation in multipart header parsing causes denial of service in plug","id":"CVE-2026-8468"},"packages":[{"ecosystem":"Hex","fixed":["1.1.0"],"introduced":["0.5.0"],"last_affected":[],"package":"phoenix_storybook","purl":"pkg:hex/phoenix_storybook","source":"EEF-CVE-2026-8467"},{"ecosystem":"Hex","fixed":["1.1.0"],"introduced":["0.5.0"],"last_affected":[],"package":"phoenix_storybook","purl":null,"source":"GHSA-55hg-8qxv-qj4p"},{"ecosystem":"Hex","fixed":["1.1.0"],"introduced":["0.5.0"],"last_affected":[],"package":"phoenix_storybook","purl":"pkg:hex/phoenix_storybook","source":"GHSA-55hg-8qxv-qj4p"}],"prev":{"headline":"Unbounded buffer accumulation in multipart header parsing causes denial of service in cowboy","id":"CVE-2026-8466"},"products":["phoenix_storybook"],"published":"2026-05-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-27","vendors":["phenixdigital"]},"summary":"Unauthenticated attackers can execute arbitrary code on the server by injecting Elixir expressions into HEEx templates via the playground WebSocket handler.","url":"https://insights.sbomify.com/CVE-2026-8467/"}