Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious Ansible collection
-
DeliveryDeveloper/CI builds execution environment
-
ExploitCrafted whitespace hits COMMENT_RE regex
-
ExecutionSuper-quadratic backtracking spikes CPU
-
Impactansible-builder process hangs
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 that a developer workstation or CI system execute |
| Impact | This is a low-severity, build-time denial-of-service (ReDoS, CWE-1333) with modest real-world priority, and the signals largely agree. The CVSS 3.1 vector (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L, base 3.3) encodes a local attack requiring user interaction with no confidentiality or integrity impact and only limited availability impact confined to the building process - consistent with the description's statement that this is purely a build-time CPU-exhaustion/hang issue. The vuln.today Decision label is 'monitor,' reinforcing that this is not an urgent item. No KEV listing and no public exploit were provided in the input, so exploitation status is: no public exploit identified at time of analysis. No EPSS score and no SSVC decision values were supplied, so those signals cannot be weighed. PR:N technically indicates no authentication, but exploitation is gated by UI:R: a developer or CI system must be induced to build an execution environment that references the attacker-supplied collection, which meaningfully limits widespread, automated exploitation. Net: a genuinely low-priority, high-confidence-of-low-impact issue rather than a high-CVSS/low-real-risk mismatch. |
| Exploit ScenarioDerived | An attacker publishes or supplies an Ansible collection whose requirements.txt contains a crafted line with a long internal run of whitespace that triggers super-quadratic regex backtracking in COMMENT_RE. A developer or CI pipeline then runs |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Catastrophic backtracking in the COMMENT_RE regular expression used by ansible-builder lets a crafted requirements.txt line in a referenced Ansible collection hang the build tool. It affects ansible-builder 3.1.0 and later (3.0.x is unaffected) and is triggered when a developer workstation or CI pipeline runs ansible-builder build or ansible-builder introspect against an execution environment that pulls in an attacker-supplied collection whose requirements.txt contains a long internal run of whitespace. The vector is local with user interaction required (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L, score 3.3): the process burns CPU and stalls, but there is no confidentiality or integrity impact and no effect on the produced artifacts. No public exploit code has been identified at time of analysis and there is no KEV listing; priority is assessed as monitor.
RemediationAI
No vendor-released patch with an exact fixed version was identified at time of analysis, so remediation rests on version selection and input control. The flaw was introduced in 3.1.0 and 3.0.x is unaffected, which means pinning ansible-builder to the 3.0.x series avoids the vulnerable regular expression entirely - the trade-off is losing whatever functionality and fixes 3.1.0 and later provide, so this is a stopgap rather than a long-term position. Because exploitation requires that an attacker-supplied collection be ingested, restrict ansible-builder build and ansible-builder introspect to collections from trusted, pinned sources and review collection requirements.txt content before building, watching specifically for lines with long internal whitespace runs; the trade-off is reduced flexibility in multi-tenant or community-collection CI pipelines. Running builds under CPU and wall-clock limits or with a watchdog lets a CI runner recover from the hang instead of blocking the queue, at the cost of potentially aborting legitimate long builds. Track https://access.redhat.com/security/cve/CVE-2026-127095 and https://github.com/ansible/ansible-builder for a vendor fix version before lifting these constraints.
Affected VersionsENISA
Affected Packages
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 root cause is CWE-1333, inefficient regular expression complexity (ReDoS). ansible-builder strips comments from a collection's requirements.txt using the COMMENT_RE pattern, and that pattern is applied in an unanchored scan rather than being anchored to the start of the line. When a line contains a long internal run of whitespace, the regex engine explores a super-quadratic number of backtracking alternatives before failing to match, so the cost grows disproportionately with input length. Because the scan is unanchored, the engine retries at each successive start offset, compounding the blow-up. The effect is confined to the ansible-builder process itself: CPU consumption and an effective hang during ansible-builder build and ansible-builder introspect. The vulnerable expression was introduced in version 3.1.0, so the 3.0.x series does not carry the flaw; the CPE entry (cpe:2.3:a:ansible:ansible-builder) is version-agnostic and does not itself encode the 3.1.0 boundary. The mechanism requires that untrusted collection content actually be ingested by the build, which is why the assessed vector is local with user interaction rather than remotely exploitable without prerequisites. The trigger path is a build-time input-parsing condition; no memory-safety, injection or logic-flaw component is described in the available sources.
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
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Build-time processing of an attacker-supplied file makes it local (AV:L) and interaction-gated (UI:R); no auth is needed to supply the collection (PR:N); only build-process availability is affected (A:L, C/I:N).
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A denial-of-service flaw was found in ansible-builder. The COMMENT_RE regular expression used to strip comments from a collection's requirements.txt during ansible-builder build and ansible-builder introspect is scanned unanchored and exhibits super-quadratic backtracking on a crafted line containing a long internal run of whitespace. An attacker who gets a developer or CI system to build an execution environment that references an attacker-supplied Ansible collection can cause the ansible-builder process to consume CPU and hang. This is a build-time issue with no confidentiality or integrity impact. The vulnerable regular expression was introduced in version 3.1.0; versions 3.0.x are not affected.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Ansible Tower (aka Ansible UI) before 2.0.5 allows remote attackers to bypass authentication and obtain sensitive inform
Ansible Tower (aka Ansible UI) before 2.0.5 allows remote organization administrators to gain privileges by creating a s
Multiple cross-site scripting (XSS) vulnerabilities in Ansible Tower (aka Ansible UI) before 2.0.5 allow remote attacker
A flaw was found in ansible 2.8.0 before 2.8.4. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploit
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
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
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
The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands. Rated high seve
Symlink-following file overwrite on the Ansible control node is possible in ansible-core when a user runs `ansible-galax
A flaw was found in the Ansible Engine when the fetch module is used. Rated medium severity (CVSS 4.6), this vulnerabili
ansible-galaxy role installation in ansible-core allows a malicious role publisher to write attacker-supplied files outs
Remote code execution via unsafe Python pickle deserialization in the community.general Ansible collection's memcached f
EUVD-2026-129140
GHSA-x548-rxm4-5c2g
NVD
CVE.org
EPSS
Exploit-DB