Skip to main content
EPSS 0.2%top 93%

CVE-2026-82736: CWE-180 Incorrect Behavior Order: Validate Before Canonicalize in ash-project ash

0
Low
VulnerabilityCVE-2026-82736cvecve-2026-82736cwe-180
Published: 09/01/2026 (09/01/2026, 03:21:47 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: ash

Description

Incorrect Behavior Order: Validate Before Canonicalize vulnerability in ash-project ash lets an attacker store a case-insensitive string value that violates its length or match constraints. Ash.Type.CiString.apply_constraints/2 (lib/ash/type/ci_string.ex) validated the max_length, min_length, and match constraints against the value as submitted, while the type case-folds the string (per its casing) for storage and comparison. Because validation ran before folding, an attacker can submit a value whose folded form breaks a constraint but whose original form passes: for example, against a match pattern requiring uppercase, an uppercase value that is stored lowercased persists a value the pattern rejects. The fix case-folds the value at the start of apply_constraints/2, so the constraints are checked against the form that is actually stored. This issue affects ash: from 1.29.0-rc0 before 3.32.2.

CVSS v4.0

Score 2.1low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

ash-project

ash

Affected versions
>=1.29.0-rc0 <3.32.2

ash-project

ash

ash
pkg:hex/ash
Affected versions
>=1.29.0-rc0 <3.32.2
GitHub Actionsmore threats →cve
ash-project/ash
pkg:github/ash-project/ash
CPE configurations
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*

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:03:54 UTC

Technical Analysis

The vulnerability in ash-project ash involves an incorrect behavior order where validation of string constraints (max_length, min_length, and match patterns) occurs before the string is canonicalized by case-folding. Specifically, Ash.Type.CiString.apply_constraints/2 validates constraints against the original string, but the string is stored and compared in a case-folded form. This discrepancy allows an attacker to submit a string that passes validation in its original form but violates constraints once folded, such as an uppercase pattern requirement being bypassed by storing a lowercased value. The fix involves case-folding the string before applying constraints to ensure validation matches the stored form. The vulnerability affects versions from 1.29.0-rc0 before 3.32.2.

Potential Impact

An attacker can store strings that violate defined constraints after case-folding, potentially leading to inconsistent data validation and storage. This may cause unexpected behavior in applications relying on these constraints but does not directly lead to privilege escalation or remote code execution. The CVSS score of 2.1 indicates a low impact with limited attack vector (local) and low complexity.

Mitigation Recommendations

No official patch or fix is explicitly stated in the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should be cautious about relying on constraint validation for case-insensitive strings and consider additional validation or input sanitization as a temporary measure.

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-31T00:59:10.001Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a964897acd9273b49296a85

Added to database: 09/01/2026, 03:37:59 UTC

Last enriched: 09/07/2026, 15:03:54 UTC

Last updated: 10/15/2026, 18:48:24 UTC

Views: 74

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