Skip to content

🚨 [security] [ruby] Update rails 8.1.2 → 8.1.2.1 (minor)#1467

Merged
depfu[bot] merged 1 commit intomainfrom
depfu/update/group/rails-8.1.2.1
Mar 23, 2026
Merged

🚨 [security] [ruby] Update rails 8.1.2 → 8.1.2.1 (minor)#1467
depfu[bot] merged 1 commit intomainfrom
depfu/update/group/rails-8.1.2.1

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Mar 23, 2026


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ rails (8.1.2 → 8.1.2.1) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ actioncable (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ actionmailbox (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ actionmailer (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ actionpack (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Security Advisories 🚨

🚨 Rails has a possible XSS vulnerability in its Action Pack debug exceptions

Impact

The debug exceptions page does not properly escape exception messages. A carefully crafted exception message could inject arbitrary HTML and JavaScript into the page, leading to XSS. This affects applications with detailed exception pages enabled (config.consider_all_requests_local = true), which is the default in development.

Releases

The fixed releases are available at the normal locations.

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ actiontext (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ actionview (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Security Advisories 🚨

🚨 Rails has a possible XSS vulnerability in its Action View tag helpers

Impact

When a blank string is used as an HTML attribute name in Action View tag helpers, the attribute escaping is bypassed, producing malformed HTML. A carefully crafted attribute value could then be misinterpreted by the browser as a separate attribute name, possibly leading to XSS. Applications that allow users to specify custom HTML attributes are affected.

Releases

The fixed releases are available at the normal locations.

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ activejob (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ activemodel (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ activerecord (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ activestorage (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Security Advisories 🚨

🚨 Rails Active Storage has possible content type bypass via metadata in direct uploads

Impact

Active Storage's DirectUploadsController accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like identified and analyzed are stored in the same metadata hash, a malicious direct-upload client could set these flags.

Releases

The fixed releases are available at the normal locations.

🚨 Rails Active Storage has a possible DoS vulnerability when in proxy mode via Range requests

Impact

When serving files through Active Storage's Blobs::ProxyController, the controller loads the entire requested byte range into memory before sending it. A request with a large or unbounded Range header (e.g. bytes=0-) could cause the server to allocate memory proportional to the file size, possibly resulting in a DoS vulnerability through memory exhaustion.

Releases

The fixed releases are available at the normal locations.

🚨 Rails Active Storage has possible Path Traversal in DiskService

Impact

Active Storage's DiskService#path_for does not validate that the resolved filesystem path remains within the storage root directory. If a blob key containing path traversal sequences (e.g. ../) is used, it could allow reading, writing, or deleting arbitrary files on the server. Blob keys are expected to be trusted strings, but some applications could be passing user input as keys and would be affected.

Releases

The fixed releases are available at the normal locations.

🚨 Rails Active Storage has possible glob injection in its DiskService

Impact

Active Storage's DiskService#delete_prefixed passes blob keys directly to Dir.glob without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory.

Releases

The fixed releases are available at the normal locations.

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ activesupport (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Security Advisories 🚨

🚨 Rails Active Support has a possible ReDoS vulnerability in number_to_delimited

Impact

NumberToDelimitedConverter used a regular expression with gsub! to insert thousands delimiters. This could produce quadratic time complexity on long digit strings.

Releases

The fixed releases are available at the normal locations.

🚨 Rails Active Support has a possible XSS vulnerability in SafeBuffer#%

Impact

SafeBuffer#% does not propagate the @html_unsafe flag to the newly created buffer. If a SafeBuffer is mutated in place (e.g. via gsub!) and then formatted with % using untrusted arguments, the result incorrectly reports html_safe? == true, bypassing ERB auto-escaping and possibly leading to XSS.

Releases

The fixed releases are available at the normal locations.

🚨 Rails Active Support has a possible DoS vulnerability in its number helpers

Impact

Active Support number helpers accept strings containing scientific notation (e.g. 1e10000), which when converted to a string could be expanded into extremely large decimal representations. This can cause excessive memory allocation and CPU consumption when the expanded number is formatted, possibly resulting in a DoS vulnerability.

Releases

The fixed releases are available at the normal locations.

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ railties (indirect, 8.1.2 → 8.1.2.1) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by 14 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Mar 23, 2026
@depfu depfu bot assigned mockdeep Mar 23, 2026
@depfu depfu bot requested a review from mockdeep March 23, 2026 22:11
@depfu depfu bot merged commit bbea900 into main Mar 23, 2026
3 checks passed
@depfu depfu bot deleted the depfu/update/group/rails-8.1.2.1 branch March 23, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant