CVE-2026-127096
Awaiting Analysis Awaiting Analysis - Queue

Ansible Language Server Quadratic-Time Regex DoS

Vulnerability report for CVE-2026-127096, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-18

Last updated on: 2026-11-18

Assigner: redhat-SADP

Description

A flaw was found in the Ansible language server shipped with the vscode-ansible extension. The regular expression used to extract documentation fragments from Ansible module files is susceptible to quadratic-time scanning. A module file containing a crafted documentation string causes the language server to consume excessive CPU while indexing it, freezing the language service in the developer's editor. An attacker who can get a developer to open or index a workspace containing an attacker-supplied collection can cause a denial of service of the editor language features. This issue has no confidentiality or integrity impact.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-18
Last Modified
2026-11-18
Generated
2026-11-19
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Red Hat Red Hat Ansible Automation Platform 2 *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1333 The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a denial of service flaw in the Ansible language server of the vscode-ansible extension. It occurs because a regular expression used to extract documentation from Ansible module files has quadratic-time complexity. When processing a crafted documentation string in a module file, the language server consumes excessive CPU resources, freezing editor features like code completion and hover tooltips.

Detection Guidance

This vulnerability is specific to the vscode-ansible extension and cannot be detected via standard network or system commands. Monitor for symptoms like frozen VS Code editor, high CPU usage, or unresponsive language features when opening workspaces containing Ansible collections.

Impact Analysis

If you use the vscode-ansible extension and open a workspace containing a malicious Ansible collection, your editor may freeze or become unresponsive. This disrupts development workflows but does not affect confidentiality or integrity of data. The impact is limited to temporary loss of language service features.

Compliance Impact

This vulnerability does not directly impact compliance with standards like GDPR or HIPAA. It only causes temporary editor disruptions and does not involve data breaches or unauthorized access. Compliance risks would arise only if the attack disrupts development processes handling regulated data.

Mitigation Strategies
  • Only open workspaces and collections from trusted sources to prevent malicious Ansible module files from triggering the vulnerability.
  • Restart the VS Code editor if language features become unresponsive due to high CPU usage.
  • Update the vscode-ansible extension to the latest version once a patch is released by the upstream maintainers.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-127096. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...