NetSight
low3.3

CVE-2026-127096

Vscode-ansible: denial of service via quadratic documentation-regex scanning in the ansible language server

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.

An attacker can exploit this with local access to the system, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of outages.

Affected products

VendorProductAffected versions
AnsibleVscode-ansible
Version 26.11.0
Red HatRed Hat Ansible Automation Platform 2
All versions

Weakness classification

References