Skip to main content

vscode-ansible CVE-2026-127096

| EUVDEUVD-2026-129141 LOW
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-11-18 redhat GHSA-pv6w-mhcr-hg9x
3.3
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Publish crafted Ansible collection
  2. Delivery
    Developer opens/indexes workspace
  3. Exploit
    docsRegex backtracks on malicious docstring
  4. Execution
    Event loop saturates on single thread
  5. Impact
    Language features freeze (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Regex complexity limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a developer to open or index a VS Code workspace containing an attacker-supplied Ansible collection whose module documentation string is crafted to trigger super-linear (quadratic) backtracking in the docsRegex regular expression used during module-documentation indexing. Limiting factors are significant: the attack vector is local (the malicious collection must reach the developer's machine, e.g. via a cloned repo or contributed collection), it requires user interaction (opening/indexing the workspace), and the only impact is temporary freezing of language-server features, fully recoverable by restarting the language service. There is no confidentiality or integrity impact and no code execution.

Impact

This is a genuinely low-priority issue, and the signals agree rather than conflict. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L, base 3.3) describes a local, user-interaction-dependent denial of service with no confidentiality or integrity impact - only availability of the editor's language features. The vuln.today Decision label is 'monitor', the weakest urgency tier, consistent with a low-severity tooling bug. No EPSS score, no CISA KEV listing, and no PoC or exploit reference were supplied, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The one nuance worth flagging: PR:N technically means no authentication, but exploitation is not remote-unauthenticated in the usual sense - it requires a developer to open or index an attacker-supplied Ansible collection on their own workstation (AV:L + UI:R), so the realistic threat is a supply-chain/social-engineering vector against individual developers, not a service-exposed attack surface. The impact ceiling is a frozen language service recoverable by restart; there is no code execution or data exposure. EPSS is absent, which is expected for a brand-new low-severity CVE and should not be read as a signal either way.

Exploit ScenarioDerived

An attacker publishes or contributes a malicious Ansible collection whose module file embeds a documentation string crafted to trigger quadratic backtracking in the docsRegex pattern. When a developer clones or opens that workspace in VS Code with the Ansible extension, the language server indexes the module, saturates its single event loop, and editor features (completion, hover, diagnostics) freeze until the language service is restarted. No public PoC or exploit code was provided in the sources; the attack is local and depends on the developer opening the crafted content (AV:L, UI:R).

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 – Nov 18, 2026

Denial of service in the Ansible language server shipped with the vscode-ansible VS Code extension, where the docsRegex pattern in docsParser.ts exhibits super-linear (quadratic) scanning when indexing a crafted module documentation string. A developer who opens or indexes a workspace containing an attacker-supplied Ansible collection saturates the language server's single-threaded event loop, freezing completion, hover, and diagnostics until the service is restarted. The vector is local with required user interaction (CVSS:3.1/AV:L/AC:L/PR:N/UI:R, 3.3 Low), impact is limited to availability of editor language features, and no public exploit or active exploitation has been identified at time of analysis.

RemediationAI

The supplied data does not specify a fixed extension or language-server version, and the vendor references (https://github.com/ansible/vscode-ansible and https://access.redhat.com/security/cve/CVE-2026-127096) should be checked for a patched release before upgrading. The only recovery mechanism described is restarting the language service to clear the saturated event loop. Because the trigger is a crafted documentation string inside an Ansible collection that is opened or indexed, the practical control consistent with the described behavior is to avoid opening or indexing untrusted or unreviewed Ansible collections in a workspace until a fixed build is confirmed; this limits exposure but does not remove the underlying inefficient regular expression. No other workaround, configuration toggle, or port-level mitigation is stated in the available sources.

Affected VersionsENISA

vscode-ansible 26.11.0

Affected Packages

euvd vscode_ansible 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

The flaw is CWE-1333 (Inefficient Regular Expression Complexity, i.e. ReDoS) in the Ansible language server bundled with the vscode-ansible extension. The docsRegex regular expression in docsParser.ts is applied to module documentation strings during workspace indexing, and a crafted documentation string forces super-linear (quadratic) scanning. Because the language server processes work on a single thread, the pathological match consumes the event loop, stalling language features rather than corrupting data or exposing information. The CPE cpe:2.3:a:ansible:vscode-ansible:*:*:*:*:*:*:*:* indicates the affected package is the vscode-ansible extension itself across versions, and the trigger requires the malicious documentation to be present in an Ansible collection that the developer opens or indexes locally.

Know when Ansible 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

Vendor (redhat) PRIMARY 3.3 LOW
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
vuln.today AI 3.3 LOW

Requires opening attacker-supplied content locally (AV:L, UI:R); no auth to supply a malicious collection (PR:N); only the language service's availability is affected (A:L, C/I:N).

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

DescriptionCVE.org

A denial-of-service flaw was found in the Ansible language server shipped with the vscode-ansible extension. The docsRegex regular expression in docsParser.ts, used when indexing module documentation, exhibits super-linear (quadratic) scanning on a crafted documentation string within a module file. When a developer opens or indexes a workspace containing an attacker-supplied Ansible collection, the single-threaded language server saturates its event loop and editor language features (completion, hover, diagnostics) freeze until the language service is restarted. This is developer-workstation tooling with no confidentiality or integrity impact.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
official Red Hat/Ansible VS Code extension, popular but limited to Ansible developers
Data Quality
4 sources
Confidence: Medium

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
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
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.

CVE-2015-1482 MEDIUM POC
5.0 Feb 04

Ansible Tower (aka Ansible UI) before 2.0.5 allows remote attackers to bypass authentication and obtain sensitive inform

CVE-2015-1481 MEDIUM POC
6.5 Feb 04

Ansible Tower (aka Ansible UI) before 2.0.5 allows remote organization administrators to gain privileges by creating a s

CVE-2015-1368 MEDIUM POC
4.3 Jan 27

Multiple cross-site scripting (XSS) vulnerabilities in Ansible Tower (aka Ansible UI) before 2.0.5 allow remote attacker

CVE-2019-10217 MEDIUM POC
6.5 Nov 25

A flaw was found in ansible 2.8.0 before 2.8.4. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploit

CVE-2017-7550 CRITICAL
9.8 Nov 21

A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkin

CVE-2021-33924 CRITICAL
9.8 Sep 29

Confluent Ansible (cp-ansible) version 5.5.0, 5.5.1, 5.5.2 and 6.0.0 is vulnerable to Incorrect Access Control via its a

CVE-2020-1733 MEDIUM POC
5.0 Mar 11

A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a play

CVE-2014-3498 HIGH
8.8 Jun 08

The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands. Rated high seve

CVE-2026-89091 HIGH
8.8 Oct 08

Symlink-following file overwrite on the Ansible control node is possible in ansible-core when a user runs `ansible-galax

CVE-2020-1735 MEDIUM POC
4.6 Mar 16

A flaw was found in the Ansible Engine when the fetch module is used. Rated medium severity (CVSS 4.6), this vulnerabili

CVE-2026-105929 HIGH
8.1 Nov 18

ansible-galaxy role installation in ansible-core allows a malicious role publisher to write attacker-supplied files outs

CVE-2026-87874 HIGH
8.1 Sep 09

Remote code execution via unsafe Python pickle deserialization in the community.general Ansible collection's memcached f

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