CVE-2026-81852: CWE-330 Use of Insufficiently Random Values in ash-project ash_admin
Description
CVE-2026-81852 is a vulnerability in ash-project's ash_admin component where a hardcoded, publicly known Content-Security-Policy (CSP) nonce is used. This nonce is a compile-time constant that is not rotated per request, allowing an attacker who can inject HTML on an admin page to reuse the known nonce to bypass CSP protections against inline scripts. The issue affects versions from 0.10.8 up to but not including 1.3.1. The vulnerability has a low severity score and no known exploits in the wild.
CVSS v4.0
Score 2.1low
Affected software
ash-project
ash_admin
ash-project
ash_admin
cpe:2.3:a:ash-project:ash_admin:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because AshAdmin.Router.ash_admin/2 defaults the img, style, and script nonces to a fixed literal constant 'ash_admin-Ed55GFnX' when mounted without the :csp_nonce_assign_key option. AshAdmin.Layouts writes this constant nonce verbatim into the nonce attribute of inline <style> and <script> tags on every response. Since this nonce is publicly known and never rotated per request, any CSP script-src policy that allows this nonce can be bypassed by an attacker who can inject HTML on an admin page, enabling execution of inline scripts that the CSP was intended to block. The fix involves generating a fresh random nonce per request. The affected versions are from 0.10.8 before 1.3.1.
Potential Impact
The impact is that the CSP protection intended to prevent inline script execution can be bypassed if an attacker can inject HTML into an admin page. This could allow execution of malicious inline scripts despite CSP policies. However, the CVSS score is low (2.1), indicating limited impact or exploitability. There are no known exploits in the wild.
Mitigation Recommendations
No official fix or patch is currently documented. Users should upgrade to version 1.3.1 or later where the nonce is generated fresh per request. Until then, applications should avoid relying solely on the default nonce and consider additional protections against HTML injection on admin pages. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-30T23:15:02.378Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a94e8f4acd9273b496aa893
Added to database: 08/31/2026, 02:37:40 UTC
Last enriched: 09/07/2026, 15:40:44 UTC
Last updated: 10/13/2026, 18:48:24 UTC
Views: 92
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.