Skip to main content

Ansible Builder CVE-2026-127095

| EUVDEUVD-2026-129140 LOW
Inefficient Regular Expression Complexity (ReDoS) (CWE-1333)
2026-11-18 redhat GHSA-x548-rxm4-5c2g
3.3
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Publish malicious Ansible collection
  2. Delivery
    Developer/CI builds execution environment
  3. Exploit
    Crafted whitespace hits COMMENT_RE regex
  4. Execution
    Super-quadratic backtracking spikes CPU
  5. Impact
    ansible-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 ansible-builder build or ansible-builder introspect against an execution environment that references an attacker-supplied Ansible collection, and that collection's requirements.txt must contain a crafted line with a long internal whitespace run that drives super-quadratic backtracking in the unanchored COMMENT_RE pattern. It is limited to ansible-builder 3.1.0 and later (3.0.x is not affected), and is gated by user/pipeline interaction (UI:R): the malicious collection must actually be ingested during a build, which is why the vector is local rather than remote. Impact is confined to availability of the build process (CPU consumption/hang); there is no confidentiality or integrity effect and no impact on produced artifacts' data.

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 ansible-builder build (or ansible-builder introspect) referencing that collection, and the process pegs CPU and hangs during comment stripping. No public exploit code was identified in the provided data; triggering only requires that the malicious collection be processed during a build.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ansible-builder 3.1.0 ≤3.2.0

Affected Packages

euvd ansible_builder no fix

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

Vendor (redhat) PRIMARY 3.3 LOW
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
vuln.today AI 3.3 LOW

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

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
Ansible execution-environment build tool, common in AWX/CI automation pipelines, not everywhere
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2015-1482 MEDIUM POC
5.0 Feb 04

Ansible Tower (aka Ansible UI) before 2.0.5 allows remote attackers to bypass authentication and obtain sensitive inform

CVE-2015-1481 MEDIUM POC
6.5 Feb 04

Ansible Tower (aka Ansible UI) before 2.0.5 allows remote organization administrators to gain privileges by creating a s

CVE-2015-1368 MEDIUM POC
4.3 Jan 27

Multiple cross-site scripting (XSS) vulnerabilities in Ansible Tower (aka Ansible UI) before 2.0.5 allow remote attacker

CVE-2019-10217 MEDIUM POC
6.5 Nov 25

A flaw was found in ansible 2.8.0 before 2.8.4. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploit

CVE-2017-7550 CRITICAL
9.8 Nov 21

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

CVE-2021-33924 CRITICAL
9.8 Sep 29

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

CVE-2020-1733 MEDIUM POC
5.0 Mar 11

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

CVE-2014-3498 HIGH
8.8 Jun 08

The user module in ansible before 1.6.6 allows remote authenticated users to execute arbitrary commands. Rated high seve

CVE-2026-89091 HIGH
8.8 Oct 08

Symlink-following file overwrite on the Ansible control node is possible in ansible-core when a user runs `ansible-galax

CVE-2020-1735 MEDIUM POC
4.6 Mar 16

A flaw was found in the Ansible Engine when the fetch module is used. Rated medium severity (CVSS 4.6), this vulnerabili

CVE-2026-105929 HIGH
8.1 Nov 18

ansible-galaxy role installation in ansible-core allows a malicious role publisher to write attacker-supplied files outs

CVE-2026-87874 HIGH
8.1 Sep 09

Remote code execution via unsafe Python pickle deserialization in the community.general Ansible collection's memcached f

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy