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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

Open and index only workspaces and Ansible collections obtained from trusted sources.

History

Wed, 18 Nov 2026 19:45:00 +0000

Type Values Removed Values Added
Description 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. 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.
Title Vscode-ansible: denial of service via quadratic documentation-regex scanning in the ansible language server
First Time appeared Redhat
Redhat ansible Automation Platform
CPEs cpe:/a:redhat:ansible_automation_platform:2
Vendors & Products Redhat
Redhat ansible Automation Platform
References

Wed, 18 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
Description 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.
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-11-18T19:38:29.563Z

Reserved: 2026-11-12T14:27:58.832Z

Link: CVE-2026-127096

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses