CVE-2026-81852
Last modified
CVE-2026-81852 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. 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. When 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 <style> and <script> tags on every response. The value is a compile-time constant published in the repository and is never rotated per request. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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. When 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 <style> and <script> 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. This issue affects ash_admin: from 0.10.8 before 1.3.1.
Metrics
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/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ash-project | ash_admin | >= 0.10.8, < 1.3.1 |
| ash-project | ash_admin | >= 99b8daed7b2f79d82fcd9e89338d41b0e1564aa7, < bc7a1cdf873b16971a8efec35d085f8bb706314f |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-81852?
How severe is CVE-2026-81852?
How do I fix CVE-2026-81852?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-81845A vulnerability has been found in arben-adm mcp-sequential-t…6.3
- CVE-2026-81847A vulnerability was found in MAA-AI MaaMCP up to 1.1.1.dev6+…5.5
- CVE-2026-81848A vulnerability was determined in cyberchitta scrapling-fetc…3.5
- CVE-2026-81849Improper limitation of a pathname to a restricted directory …8.8
- CVE-2026-8185A security vulnerability has been detected in UGREEN CM933 1…6.3
- CVE-2026-81851A heap-based buffer overflow vulnerability in Fireware OS's …6.9
- CVE-2026-81853Authorization Bypass Through User-Controlled Key vulnerabili…2.3
- CVE-2026-8186A vulnerability was detected in Open5GS up to 2.7.7. This af…7.5
- CVE-2026-8187A flaw has been found in Open5GS up to 2.7.7. This impacts t…7.5
- CVE-2026-8188A vulnerability has been found in Wavlink NU516U1 M16U1_V240…8.8
- CVE-2026-81887Livewire is a full-stack framework for Laravel. From 3.0.0-b…5.1
- CVE-2026-81888@hono/oauth-providers is Authentication middleware for Hono.…5.4
Are you affected by CVE-2026-81852?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
