Skip to main content
EPSS 0.5%top 57%

CVE-2026-81852: CWE-330 Use of Insufficiently Random Values in ash-project ash_admin

0
Low
VulnerabilityCVE-2026-81852cvecve-2026-81852cwe-330
Published: 08/31/2026 (08/31/2026, 02:29:14 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

ash-project

ash_admin

Affected versions
>=0.10.8 <1.3.1

ash-project

ash_admin

ash_admin
pkg:hex/ash_admin
Affected versions
>=0.10.8 <1.3.1
GitHub Actionsmore threats →cve
ash-project/ash_admin
pkg:github/ash-project/ash_admin
CPE configurations
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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:40:44 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses