Skip to content

chore(deps): update dependency nokogiri to v1.19.1 [security]#2654

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/rubygems-nokogiri-vulnerability
Feb 20, 2026
Merged

chore(deps): update dependency nokogiri to v1.19.1 [security]#2654
renovate[bot] merged 1 commit intomainfrom
renovate/rubygems-nokogiri-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 20, 2026

This PR contains the following updates:

Package Change Age Confidence
nokogiri 1.18.101.19.1 age confidence

GitHub Vulnerability Alerts

GHSA-wx95-c6cv-8532

Summary

Nokogiri's CRuby extension fails to check the return value from xmlC14NExecute in the method Nokogiri::XML::Document#canonicalize and Nokogiri::XML::Node#canonicalize. When canonicalization fails, an empty string is returned instead of raising an exception. This incorrect return value may allow downstream libraries to accept invalid or incomplete canonicalized XML, which has been demonstrated to enable signature validation bypass in SAML libraries.

JRuby is not affected, as the Java implementation correctly raises RuntimeError on canonicalization failure.

Mitigation

Upgrade to Nokogiri >= 1.19.1.

Severity

The maintainers have assessed this as Medium severity. Nokogiri itself is a parsing library without a clear security boundary related to canonicalization, so the direct impact is that a method returns incorrect data on invalid input. However, this behavior was exploited in practice to bypass SAML signature validation in downstream libraries (see References).

Credit

This vulnerability was responsibly reported by HackerOne researcher d4d.


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner February 20, 2026 02:29
@renovate renovate bot added the renovate Automated dependency updates label Feb 20, 2026
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednokogiri@​1.18.10 ⏵ 1.19.188100 +210010070

View full report

@renovate renovate bot merged commit 73147ff into main Feb 20, 2026
2 checks passed
@renovate renovate bot deleted the renovate/rubygems-nokogiri-vulnerability branch February 20, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate Automated dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Comments