Security mailing lists by PureSourceCode

CVE-2026-49477

HIGH 7.5CVSS 3.1

Soup Sieve: Regular Expression Denial of Service (ReDoS) via Selector Parser

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.8.4, the CSS selector parser in soupsieve contains a regular expression vulnerable to catastrophic backtracking when processing an attribute selector with an unterminated quoted value in soupsieve/css_parser.py, allowing an attacker who can supply untrusted CSS selector strings to soupsieve.compile() or Beautiful Soup .select() / .select_one() to cause CPU exhaustion and denial of service. This issue is fixed in version 2.8.4.

Published
14 Jul 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-1333CWE-400
Also known as
GHSA-836r-79rf-4m37PYSEC-2026-3072
Sources
NVDJSONOSV GHSA-836r-79rf-4m37JSONOSV PYSEC-2026-3072JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD facelessuser soup_sieve
cpe:2.3:a:facelessuser:soup_sieve:*:*:*:*:*:beautiful_soup:*:*
< 2.8.4 2.8.4
OSV PyPI soupsieve < 2.8.4 2.8.4

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 14 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.