Skip to main content

grass Sass Compiler CVE-2026-14650

| EUVDEUVD-2026-41694 LOW
Improper Resource Shutdown or Release (CWE-404)
2026-07-04 cna@vuldb.com
1.9
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local user access
  2. Delivery
    Craft malicious UTF-8 SCSS input file
  3. Exploit
    Invoke grass compiler against crafted input
  4. Execution
    Trigger raw_to_parse_error resource exhaustion
  5. Impact
    Compiler process denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource release
Exploitation Conditions

The attacker must have local, low-privilege access to a system running the grass Sass compiler (≤0.13.4). Exploitation requires the ability to invoke the grass compiler binary with attacker-controlled SCSS/Sass input - either by directly executing it as a local user or by injecting a malicious stylesheet into a build process that invokes grass automatically. The DoS impact is limited to the compiler process itself; it does not affect the host OS, other users, or network-facing services. Non-default or remote deployments are not affected unless the compilation step is exposed as a service. The maintainer's acknowledgment that exponential behavior is inherent to the @extend algorithm means virtually any deeply nested or extend-heavy SCSS input can reproduce this condition, not only the specific payload in Issue #116.

Impact

Real-world risk is minimal. The CVSS 4.0 base score of 1.9 reflects the combination of local-only attack vector, low-privilege requirement, and limited availability impact. There is no network exposure, no unauthenticated attack path, and no confidentiality or integrity impact. No EPSS score was provided in the intelligence data; however, given the local-only vector and niche product footprint, exploitation probability in any given environment is expected to be extremely low. No CISA KEV listing exists. A public exploit is referenced (E:P), but 'exploit' in this context likely means a crafted SCSS input file - not a memory-corruption or RCE payload - making it trivially reproducible but of very limited practical consequence. The maintainer's explicit position that this class of behavior is intentional and acceptable further undermines the case for treating this as a security priority. The primary realistic risk is in CI/CD pipelines or build systems that automatically compile untrusted SCSS content, where a crafted file could hang or crash the build step.

Exploit ScenarioDerived

A local user with minimal privileges crafts an SCSS file containing specific UTF-8 character sequences or deeply nested @extend directives designed to trigger the exponential execution path in raw_to_parse_error. The user invokes the grass compiler against this file - either directly or by injecting it into an automated build pipeline - causing the compiler process to hang or crash. A public proof-of-concept is referenced in the VulDB submission, making reproduction straightforward.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 04, 2026

Local denial-of-service in the grass Rust-based Sass compiler (versions up to and including 0.13.4) is triggerable by a local, low-privileged user who supplies crafted UTF-8 input to the grass_compiler::raw_to_parse_error function. Publicly available exploit code exists (CVSS 4.0 E:P), though no CISA KEV listing has been issued. The project maintainer has explicitly stated in Issue #117 that DoS in Sass compilers is considered acceptable behavior due to the inherently exponential nature of the @extend algorithm and other compile-time constructs, significantly reducing the urgency of a vendor-released fix.

RemediationAI

No vendor-released patch has been identified at time of analysis; the project maintainer's response in Issue #117 indicates DoS in Sass compilers is considered expected behavior, making an official fix uncertain. The most actionable compensating control is to avoid compiling untrusted or user-supplied SCSS/Sass input with the grass compiler in automated or unattended contexts (e.g., CI/CD pipelines). If untrusted input must be processed, run the grass compiler in an isolated process or container with resource limits (e.g., ulimit -t for CPU time, ulimit -v for memory) to cap the blast radius of a DoS attempt to the sandboxed process rather than the host system. Restricting who can submit input to the compiler (i.e., enforcing PR:L boundary controls) is itself a mitigation, as the CVSS vector already requires low-privilege local access. Monitor https://github.com/connorskees/grass for a future patched release.

Affected VersionsENISA

grass 0.13.3
grass 0.13.2
grass 0.13.0
grass 0.13.4
grass 0.13.1

Affected Packages

euvd grass no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

grass is an open-source, Rust-language implementation of the Sass/SCSS stylesheet preprocessor, maintained by connorskees on GitHub. The vulnerable component is grass_compiler::raw_to_parse_error, which handles UTF-8 character decoding during compilation. CWE-404 (Improper Resource Shutdown or Release) indicates the function fails to properly manage resources when encountering specific crafted UTF-8 sequences, leading to process-level availability failure. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N) confirms the impact is strictly local and limited to the compiler's own availability - no confidentiality or integrity impact on the vulnerable system, and no scope change affecting subsequent systems. The maintainer's note about @extend being 'definitionally exponential' further contextualizes this as a class of compile-time resource exhaustion inherent to the Sass specification itself.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 1.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 3.3 LOW

Local execution requiring low privileges to invoke the compiler; impact is limited to availability of the compiler process with no confidentiality, integrity, or scope-change effects.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A flaw has been found in connorskees grass up to 0.13.4. The affected element is the function grass_compiler::raw_to_parse_error of the component UTF-8 Character Handler. Executing a manipulation can lead to denial of service. The attack is restricted to local execution. The exploit has been published and may be used. In Issue #117 with similar structure the project maintainer explains: "DoS vulnerabilities are generally fine in Sass compilers -- they are trivially possible with recursive functions, infinite loops, nested mixins, etc. The description here is wrong. Compile time is not expected to be linear relative to the input, and the @extend algorithm is definitionally exponential."

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Rare
niche Rust Sass compiler, minimal enterprise production footprint
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy