CVSS 4.0
8.7 highCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NHigh (8.7) in nokogiri nokogiri. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in nokogiri 1.19.3.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hnokogiri (RubyGems): fixed in 1.19.3Explain CVE-2026-79770 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-79770?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-79770?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-79770 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| sparklemotion nokogiri | before 1.19.3 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-c4rq-3m3g-8wgx | RubyGems | nokogiri | <1.19.3 | 1.19.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | ruby-nokogiri | no fix listed | DEBIAN-CVE-2026-79770 |
| Debian | 14 | ruby-nokogiri | 1.19.3+dfsg-1 | DEBIAN-CVE-2026-79770 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 24.04:LTS and 4 more | ruby-nokogiri | no fix listed | UBUNTU-CVE-2026-79770 |
| Alpaquita | 23, 25 | ruby-nokogiri | no fix listed | BELL-CVE-2026-79770 |
| Alpaquita | stream | ruby-nokogiri | 1.19.4-r0 | BELL-CVE-2026-79770 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.
Red Hat rates this Important.
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in Nokogiri's CSS selector tokenizer. When processing untrusted user input passed to methods like Node#css, Node#at_css, or Searchable#search, an attacker can inject adversarial CSS selectors containing malicious string literals or identifiers. This triggers exponential regex backtracking within the parser, causing severe CPU exhaustion and leading to a Denial of Service (DoS) for the application thread.
Do not pass untrusted user input directly into Nokogiri CSS search methods. If dynamic querying is necessary, sanitize input or restrict query parameter patterns before evaluation.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/backend-rhel8 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel8 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel9 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/toolbox-rhel9 | Not affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel9 | Not affected | |
| Red Hat Satellite 6 | tfm-rubygem-amazing_print | Not affected | |
| Red Hat Satellite 6 | tfm-rubygem-graphql | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-79770.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.