{"answers":{"affected":"1 open source package ship an affected version, including ash_admin.","exploited":"There is no known exploitation of CVE-2026-81852 in the wild and no public exploit code.","fix":"Upgrade ash_admin to 1.3.1 or later.","what":"CVE-2026-81852 is a low-severity vulnerability in ash-project ash_admin, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-81852 and fix it if it is affected.\n\nWhat it is: CVE-2026-81852 is a low-severity vulnerability in ash-project ash_admin, published on 31 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-81852 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ash_admin (Hex): affected from 0.10.8; fixed in 1.3.1\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-81852/ (Markdown: https://insights.sbomify.com/CVE-2026-81852/index.md)","id":"CVE-2026-81852","markdown":"https://insights.sbomify.com/CVE-2026-81852/index.md","name":"CVE-2026-81852","record":{"aliases":["EEF-CVE-2026-81852","GHSA-whfj-rrrp-j597"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"AshAdmin library","requires_auth":"none","summary":"AshAdmin uses a hardcoded CSP nonce, allowing attackers to bypass Content-Security-Policy protections and execute inline scripts on admin pages.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":2.1,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-330","name":"Use of Insufficiently Random Values"}],"description":"Use of Insufficiently Random Values vulnerability in ash-project ash_admin ships a hardcoded, publicly known CSP nonce, defeating nonce-based Content-Security-Policy protection.\n\nWhen mounted without :csp_nonce_assign_key, AshAdmin.Router.ash_admin/2 defaulted the img, style, and script nonces to the literal constant ash_admin-Ed55GFnX, which AshAdmin.Layouts wrote verbatim into the nonce attribute of its inline \u003cstyle\u003e and \u003cscript\u003e tags on every response. The value is a compile-time constant published in the repository and is never rotated per request. If an application's CSP script-src allow-lists that documented default, any HTML-injection sink on an admin page can reuse the known nonce to run inline scripts the policy was meant to block. The fix generates a fresh random nonce per request.\n\nThis issue affects ash_admin: from 0.10.8 before 1.3.1.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"AshAdmin ships a hardcoded CSP nonce, allowing nonce-based CSP bypass","id":"CVE-2026-81852","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":1,"n_references":4,"next":{"headline":"AshAdmin composite primary key decoding accepts arbitrary fields, enabling a secret-attribute oracle","id":"CVE-2026-81853"},"packages":[{"ecosystem":"Hex","fixed":["1.3.1"],"introduced":["0.10.8"],"last_affected":[],"package":"ash_admin","purl":"pkg:hex/ash_admin","source":"EEF-CVE-2026-81852"}],"prev":{"headline":"Fireware OS Heap-Based Buffer Overflow in iked Allows Denial of Service","id":"CVE-2026-81851"},"products":["ash_admin"],"published":"2026-08-31","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-31","vendors":["ash-project"]},"summary":"AshAdmin uses a hardcoded CSP nonce, allowing attackers to bypass Content-Security-Policy protections and execute inline scripts on admin pages.","url":"https://insights.sbomify.com/CVE-2026-81852/"}