CVE-2026-57234: Nokogiri: XML::Schema on JRuby allows network requests when NONET is set, bypassing CVE-2020-26247

Published Jun 25, 2026
·
Updated

Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, the NONET parse option, which Nokogiri turns on by default for Nokogiri::XML::Schema (see CVE-2020-26247), was not correctly enforced on the JRuby implementation. As a result, a schema parsed with default options could still cause external resources to be fetched over the network, potentially enabling SSRF or XXE attacks. This vulnerability is fixed in 1.19.4.

Other sources

Nokogiri: XML::Schema on JRuby allows network requests when NONET is set, bypassing CVE-2020-26247

Microsoft

Affected Software

3 affected componentsFixes available
Nokogiri XML::Schema<1.19.4
Nokogiri Nokogiri Ruby<1.19.4
Microsoft azl3 rubygem-nokogiri 1.15.4-1<1.19.4-1
1.19.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.19.4-1
  2. Upgrade

    Upgrade Nokogiri to a version that resolves this vulnerability.

    Fixed in 1.19.4

Event History

Jun 25, 2026
CVE Published
via MITRE·02:30 PM
Data Sourced
via MITRE·02:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Jun 27, 2026
Data Sourced
via Microsoft·08:17 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:17 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the risk level of CVE-2026-57234?

The risk level of CVE-2026-57234 is 15, classified as low severity (2.6).

2

How does CVE-2026-57234 affect Nokogiri?

CVE-2026-57234 allows network requests when the NONET option is set in Nokogiri on JRuby, thereby bypassing previous security measures.

3

What software is impacted by CVE-2026-57234?

CVE-2026-57234 affects Nokogiri XML::Schema prior to version 1.19.4.

4

Is there a way to mitigate CVE-2026-57234?

To mitigate CVE-2026-57234, you should upgrade Nokogiri to version 1.19.4 or later.

5

What vulnerabilities are associated with CVE-2026-57234?

CVE-2026-57234 is associated with XML External Entity (XXE) and Server Side Request Forgery (SSRF) vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203