vscode-ansible: quadratic regex scanning enables denial of service
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Will not fix Red Hat: no fix planned
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-1333.
Summary
The Ansible language server in the vscode-ansible extension uses a regular expression to extract documentation fragments from Ansible module files, and that regex scans in quadratic time. A module file with a crafted documentation string makes the language server consume excessive CPU while indexing it, freezing language features in the editor. An attacker who gets a developer to open or index a workspace containing an attacker-supplied collection can cause this denial of service, and the issue has no confidentiality or integrity impact. Red Hat rates it Low, CVSS 3.1 base score 3.3 (LOW), and Red Hat Ansible Automation Platform 2 is listed with no fix planned.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version is listed. Red Hat Ansible Automation Platform 2 has no fix planned for this issue. Avoid opening or indexing workspaces containing untrusted Ansible collections until a fixed release is available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2 | Affected | No fix planned: Will not fix |
Timeline
- 2026-11-18 Threatist record created from CVE-2026-127096
- 2026-11-18 Title updated · CNA
- 2026-11-18 Affected versions changed · CNA
- 2026-11-18 1 new reference · CNA
- 2026-11-18 CISA SSVC decision points changed
- 2026-11-18 Alias added: GHSA-pv6w-mhcr-hg9x
- 2026-11-19 Affected versions changed · Red Hat
- 2026-11-19 CVSS score added · Red Hat
References
More Red Hat vulnerabilities
- TI-2019-15875 Sandbox bypass in Jenkins Pipeline: Groovy Plugin runs code KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Sandbox bypass in Jenkins Script Security Plugin allows code execution KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Arbitrary code execution in Kibana Timelion visualizer KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in OpenSLP in VMware ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153… KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-127096 · CVE Program
- CVE-2026-127096 · NVD
- FIRST EPSS
- GHSA-pv6w-mhcr-hg9x · GitHub Advisory Database · CC BY 4.0
- CVE-2026-127096 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences