
Catálogo de CVE
CVE-2026-126189
soupsieve affected and fixed versions
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 4.0.1, Soup Sieve repeatedly searches descendant subtrees for each candidate evaluated by :has() and repeatedly reevaluates a parent containing :has(> ...) for each child, causing quadratic matching on deeply nested or wide attacker-influenced HTML or XML. Applications using ordinary fixed selectors through select(), select_one(), or Beautiful Soup CSS APIs against untrusted documents can have a worker occupied for seconds or minutes, while applications that process only trusted documents are not affected. Selectors compiled with NOCACHE continue to use the old uncached behavior. This issue is fixed in version 4.0.1.
- Gravedad
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.45% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | soupsieve | 4.1-1 | FixedDistribution-reported fixed boundary | [CVE-2026-126189] |
| Debiansid | soupsieve | 4.1.3-1 | Fixed | [CVE-2026-126189] |
| Debianforky | soupsieve | 4.1-1 | FixedDistribution-reported fixed boundary | [CVE-2026-126189] |
| Debianforky | soupsieve | 4.1.3-1 | Fixed | [CVE-2026-126189] |
More observations (17)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | soupsieve | Not reported | AffectedDistribution reports no fix | [CVE-2026-126189] |
| Debianbookworm | soupsieve | 2.3.2-1 | Affected | [CVE-2026-126189] |
| Debiantrixie | soupsieve | Not reported | AffectedDistribution reports no fix | [CVE-2026-126189] |
| Debiantrixie | soupsieve | 2.7-1 | Affected | [CVE-2026-126189] |
| Ubuntu20.04 | soupsieve | 1.9.2+dfsg-2ubuntu1 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu20.04 | soupsieve | 1.9.4+dfsg-1 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu20.04 | soupsieve | 1.9.5+dfsg-1 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu22.04 | soupsieve | 2.2.1-2 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu22.04 | soupsieve | 2.3-1 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu22.04 | soupsieve | 2.3.1-1 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu24.04 | soupsieve | 2.4.1-2 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu24.04 | soupsieve | 2.5-1 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu26.04 | soupsieve | 2.7-2 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu26.04 | soupsieve | 2.8.1-1 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu26.04 | soupsieve | 2.8.3-1 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu26.10 | soupsieve | 2.8.3-1 | Affected | [UBUNTU-CVE-2026-126189] |
| Ubuntu26.10 | soupsieve | 2.8.4-1 | Affected | [UBUNTU-CVE-2026-126189] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-soupsieve]Afectada
Paquete fuente: [soupsieve]
Detalles (2)
2.3.2-1· all · bookwormAfectada
dsa · soupsieve · debian · bookworm; pypi · soupsieve · debian · 12
2.3.2-1· all · bookwormAfectada
dsa · soupsieve · debian · bookworm; pypi · soupsieve · debian · 12
[Debian 13 (Trixie)]
- [python3-soupsieve]Afectada
Paquete fuente: [soupsieve]
Detalles (2)
2.7-1· all · trixieAfectada
pypi · soupsieve · debian · 13
2.7-1· all · trixieAfectada
pypi · soupsieve · debian · 13
Observado:
Referencias
- [https://github.com/facelessuser/soupsieve/commit/0469c148f5501ec2127e0d65b77c2a1c395fa379]
- [https://github.com/facelessuser/soupsieve/commit/305fbf6b8c1f6ff05fec55d1e5bb28d80d22de44]
- [https://github.com/facelessuser/soupsieve/pull/352]
- [https://github.com/facelessuser/soupsieve/releases/tag/4.0.1]
- [https://github.com/facelessuser/soupsieve/security/advisories/GHSA-8jvp-3x96-xpqw]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-126189]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-126189]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-126189]
- [https://security-tracker.debian.org/tracker/CVE-2026-126189]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-126189.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]