cel-rust CVE-2025-62162
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach API accepting CEL expressions
-
ExploitCraft malformed CEL input (e.g. 'x(1,')
-
ExecutionParser panics in antlr4rust visitor
-
ImpactProcess terminates (denial of service)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires that the host application uses cel-rust (crate 'cel', versions 0.10.0 through 0.11.3) to parse or compile CEL expressions that originate from an untrusted source - e.g., Program::compile() called on user-supplied input received over an API. The concrete trigger is a syntactically malformed CEL expression (the advisory PoC uses 'x(1,') that drives the antlr4rust-generated parser into unreachable code and panics. The primary limiting factor is exposure: applications that only evaluate trusted, developer-defined expressions, or that run parsing in a catch_unwind/isolated worker boundary, are not meaningfully exploitable despite the AV:N/PR:N vector. No authentication or user interaction is required when untrusted input reaches the parser. Upgrading to 0.11.4 removes the condition entirely. |
| Impact | The input signals are largely consistent and point to a genuine but bounded availability risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a network-reachable, low-complexity, unauthenticated attack with pure availability impact and no confidentiality or integrity loss - a classic DoS profile, confirmed by the CWE-20 (Improper Input Validation) classification and the 'Denial Of Service' tag. A working proof-of-concept is published inside the GHSA advisory (the three-line 'x(1,' panic trigger with full backtrace), so publicly available exploit code exists. However, this is NOT a CISA KEV entry and no EPSS score was supplied, so there is no evidence of active or widespread exploitation - the risk is latent and opportunistic rather than confirmed in-the-wild. A critical nuance the raw CVSS score hides: the AV:N/PR:N/UI:N rating only holds when the embedding application actually feeds attacker-controlled CEL expressions to cel-rust (e.g., user input over an API). An application that only evaluates trusted, developer-authored expressions is effectively not exposed, even though the CVSS vector reads as fully remote and unauthenticated. Net assessment: a legitimate priority for any service that parses untrusted CEL via this crate, but a low-to-no concern for deployments that only handle trusted expressions. The 7.5 'High' rating is appropriate for the worst case but should not be treated as uniformly applicable. |
| Exploit ScenarioDerived | An application exposes an API endpoint that compiles and evaluates user-supplied CEL expressions using cel-rust 0.10.0-0.11.3. An unauthenticated attacker submits a malformed expression such as 'x(1,'; the antlr4rust-based parser hits unreachable code and panics, which unwinds and terminates the process (a published PoC exists in the GHSA advisory). Because the vector is AV:N/AC:L/PR:N/UI:N, a single crafted request repeatedly crashes the service, producing a denial of service. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Denial of service in the cel-rust crate (cel) versions 0.10.0 through 0.11.3 allows unauthenticated remote attackers to panic the host process by submitting malformed CEL expressions when an application passes untrusted input to Program::compile or equivalent parser entry points. A publicly available proof-of-concept expression, 'x(1,', triggers an unreachable-code panic in the antlr4rust-generated parser, making the issue relevant primarily to services that evaluate user-supplied CEL. Version 0.11.4 fixes the parser handling; deployments that only parse trusted expressions or isolate parsing in a worker are materially less exposed.
RemediationAI
Upgrade the 'cel' crate to 0.11.4 or later (cel = "0.11.4" in Cargo.toml), which contains the vendor fix and is documented in GHSA-wxwx-9fh7-5mrw and the cel-v0.11.4 release notes. If immediate upgrade is not possible, do not pass untrusted input to Program::compile or other CEL parser entry points; enforce an allowlist of expressions or parse only developer-defined expressions. Where user-supplied expressions must be supported, isolate compilation in a separate worker process or thread with a restart supervisor and, if using panic=unwind, wrap parsing in catch_unwind; note that catch_unwind does not protect against panic=abort builds, and process isolation adds latency and operational complexity but contains the DoS to the worker. The upstream fix commit is 9df9822d81d91a3ce0fc9f712f4574a659247be3.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CEL (Common Expression Language) is an expression language used to evaluate user-supplied logic in a controlled way, and cel-rust implements it in Rust using an ANTLR4-generated parser via the antlr4rust crate. The parser builds a parse tree and traverses it through the Visitable trait; for certain syntactically malformed inputs, the generated context reaches a visitor method that is not implemented, triggering an unreachable!() panic in antlr4rust tree.rs rather than returning a parse error. This is a CWE-20 improper input validation issue: the parser does not gracefully reject or halt traversal on the error node (PrimaryContextAll::Error) before the panicking accept path. The 0.11.4 release updates antlr4rust, stops AST traversal on PrimaryContextAll::Error, and fixes linefeed ParseErr handling, removing the panic trigger. The flaw is present from 0.10.0 through 0.11.3.
Know when Rust gets its next vulnerability
- 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Untrusted CEL input reaches the parser over the network with no auth or interaction (AV:N/AC:L/PR:N/UI:N); panic only crashes the process, so A:H with C:N/I:N.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
cel-rust is a Common Expression Language interpreter written in Rust. Starting in version 0.10.0 and prior to version 0.11.4, parsing certain malformed CEL expressions can cause the parser to panic, terminating the process. When the crate is used to evaluate untrusted expressions (e.g., user-supplied input over an API), an attacker can send crafted input to trigger a denial of service (DoS). Version 0.11.4 fixes the issue.
Executive ViewAI
The cel-rust crate (cel) versions 0.10.0 through 0.11.3 creates an availability risk for services that compile user-supplied CEL expressions, where malformed input can panic and crash the host process. Leadership should care most where customer-facing or business-critical services accept untrusted CEL; exposure is lower for trusted-only expressions or worker-isolated parsing. Exploitation status: publicly available exploit code exists, and no vendor-released patch identified at time of analysis.
No vendor-released patch identified at time of analysis; interim mitigations include restricting untrusted CEL input, sanitizing and limiting expression length/syntax, isolating parsing in a separate worker/process with crash/restart limits, applying rate limiting, and monitoring parser panics and process restarts. If version 0.11.4 is confirmed as the vendor fix, apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Command injection via Windows CreateProcess argument parsing affects multiple language runtimes and tooling (Node.js, PH
In the standard library in Rust before 1.52.0, a double free can occur in the Vec::from_iter function if freeing the ele
In the standard library in Rust before 1.52.0, the Zip implementation can report an incorrect size due to an integer ove
Stored cross-site scripting and open redirect in Warpgate's SSO endpoints (versions prior to 0.25.5) allow an unauthenti
library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginni
Denial of service in the Vector observability pipeline's `logstash` source (versions 0.15.0 through 0.56.x) allows a rem
The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, c
Use-after-free in librsvg during rendering of crafted SVG documents with nested XInclude directives and duplicate entity
In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once fo
In the standard library in Rust before 1.50.0, read_to_end() does not validate the return value from Read in an unsafe c
Cargo prior to Rust 1.26.0 may download the wrong dependency if your package.toml file uses the `package` configuration
A parser differential in the Rust `zip` crate (zip2) through 9.0.4 lets a crafted archive present different filenames to
NVD
CVE.org
EPSS
GitHub
Exploit-DB