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
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
- Deferred
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-81846An authorization bypass in the runZero Platform MCP service …3.5
- 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-81855A hardcoded cryptographic client authentication key vulnerab…9.1
- CVE-2026-81856Improper Neutralization of Escape, Meta, or Control Sequence…2.3
- CVE-2026-81858IBM i 7.3, 7.4, 7.5, and 7.6 could allow a remote authentica…8.1
- CVE-2026-81859CP4BA - IBM Enterprise Records could allow a local attacker …6.2
- CVE-2026-8186A vulnerability was detected in Open5GS up to 2.7.7. This af…7.5
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
