Debian dla-4934 : rails - security update

critical Nessus Plugin ID 385940

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 12 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-4934 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4934-1 [email protected] https://www.debian.org/lts/security/ Simon Quigley November 24, 2026 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : rails Version : 2:6.1.7.10+dfsg-1~deb12u4 CVE ID : CVE-2026-122006 CVE-2026-126067 CVE-2026-126068 CVE-2026-126069 CVE-2026-126072 CVE-2026-126073 CVE-2026-126074 CVE-2026-126076 CVE-2026-126077 CVE-2026-126078 CVE-2026-126080 CVE-2026-126081 CVE-2026-126085 CVE-2026-126186 CVE-2026-126188 Debian Bug : 1154301

Multiple vulnerabilities were found in Rails, a Ruby-based MVC web framework, which could result in local file disclosure, code execution in image processing, session fixation or hijacking, cross-site scripting, mass assignment bypass, cache poisoning, or denial of service.

CVE-2026-122006

Active Storage passed uploaded images to MiniMagick without restricting ImageMagick coders. A remote user who can upload an image could use coders such as MSL, TEXT or URL, or the Ghostscript delegate, to read files or execute code. A restrictive ImageMagick policy is now shipped and applied.

CVE-2026-126067

Session stores that write their own cookies, including the cache and MemCache stores, ignored the configured SameSite policy. A remote attacker who lures a logged-in user into a cross-site request could make the browser send that session cookie.

CVE-2026-126068

The Mailgun Action Mailbox ingress accepted webhook timestamps arbitrarily far in the future. A remote attacker holding a captured signed request could replay it with a future timestamp and have it accepted as genuine mail.

CVE-2026-126069

Attribute names consisting only of whitespace passed the blank-name check when given as symbols. A remote attacker who controls tag helper option keys could inject an attribute value that the browser reads as a separate attribute, leading to cross-site scripting.

CVE-2026-126072

Closing a live stream could block while holding the buffer's monitor if the client stopped reading. A remote client could tie up web server threads, causing a denial of service.

CVE-2026-126073

The Vary response header omitted some of the request headers used for content negotiation. A remote attacker could cause a shared cache to serve a response negotiated for a different request.

CVE-2026-126074

The Active Storage filename helper derived the base name and extension from the raw uploaded name. A remote user who can upload a file could pass a NUL byte through to file routines.

CVE-2026-126076

The cache session store wrote a loaded session back at the end of each request, which could undo a concurrent logout. A remote attacker with a stolen session cookie could keep it valid after the victim logs out.

CVE-2026-126077

When a cookie was rewritten after secret rotation or serializer migration, Rails ignored Active Storage's request to skip the session. A shared cache could store one user's session cookie alongside a public file response and serve it to other visitors.

CVE-2026-126078

The highlight helper inserted the matched phrase into the highlighter string and marked the result HTML-safe. A remote attacker who controls the search phrase could break out of an attribute in a custom highlighter, leading to cross-site scripting.

CVE-2026-126080

ActiveSupport::Inflector.safe_constantize compiled the constant name into a regular expression when handling a LoadError. A remote attacker who controls the name, such as an Action Cable channel, could supply the pattern the server compiles.

CVE-2026-126081

ActionController::Parameters#each_key returned the unfiltered inner hash. In applications that pass its return value to a model, a remote attacker could set attributes that were not permitted.

CVE-2026-126085

Google Cloud Storage direct upload URLs did not bind the upload size. A remote user allowed to upload could store an object larger than the size they declared.

CVE-2026-126186

Active Storage named temporary files passed to ffprobe, ffmpeg and ImageMagick with the uploaded file's extension, which those tools use to choose a decoder. A remote user who can upload a file could select an unintended decoder, such as an AviSynth script for .avs.

CVE-2026-126188

Active Storage ran ffprobe and the video previewer without limiting the demuxer. A remote user who can upload a file could upload an HLS playlist with a video content type that, when previewed, reads local media files accessible to the application.

For Debian 12 bookworm, these problems have been fixed in version 2:6.1.7.10+dfsg-1~deb12u4.

We recommend that you upgrade your rails packages.

For the detailed security status of rails please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/rails

Further information about Debian LTS security advisories, how to apply these updates to your system, and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the rails packages.

See Also

https://packages.debian.org/source/bookworm/rails

https://security-tracker.debian.org/tracker/CVE-2026-122006

https://security-tracker.debian.org/tracker/CVE-2026-126067

https://security-tracker.debian.org/tracker/CVE-2026-126068

https://security-tracker.debian.org/tracker/CVE-2026-126069

https://security-tracker.debian.org/tracker/CVE-2026-126072

https://security-tracker.debian.org/tracker/CVE-2026-126073

https://security-tracker.debian.org/tracker/CVE-2026-126074

https://security-tracker.debian.org/tracker/CVE-2026-126076

https://security-tracker.debian.org/tracker/CVE-2026-126077

https://security-tracker.debian.org/tracker/CVE-2026-126078

https://security-tracker.debian.org/tracker/CVE-2026-126080

https://security-tracker.debian.org/tracker/CVE-2026-126081

https://security-tracker.debian.org/tracker/CVE-2026-126085

https://security-tracker.debian.org/tracker/CVE-2026-126186

https://security-tracker.debian.org/tracker/CVE-2026-126188

https://security-tracker.debian.org/tracker/source-package/rails

Plugin Details

Severity: Critical

ID: 385940

File Name: debian_DLA-4934.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 11/25/2026

Updated: 11/25/2026

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.53

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-122006

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:12.0, p-cpe:/a:debian:debian_linux:rails, p-cpe:/a:debian:debian_linux:ruby-actioncable, p-cpe:/a:debian:debian_linux:ruby-actionmailbox, p-cpe:/a:debian:debian_linux:ruby-actionmailer, p-cpe:/a:debian:debian_linux:ruby-actionpack, p-cpe:/a:debian:debian_linux:ruby-actiontext, p-cpe:/a:debian:debian_linux:ruby-actionview, p-cpe:/a:debian:debian_linux:ruby-activejob, p-cpe:/a:debian:debian_linux:ruby-activemodel, p-cpe:/a:debian:debian_linux:ruby-activerecord, p-cpe:/a:debian:debian_linux:ruby-activestorage, p-cpe:/a:debian:debian_linux:ruby-activesupport, p-cpe:/a:debian:debian_linux:ruby-rails, p-cpe:/a:debian:debian_linux:ruby-railties

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 11/24/2026

Vulnerability Publication Date: 11/4/2026

Reference Information

CVE: CVE-2026-122006, CVE-2026-126067, CVE-2026-126068, CVE-2026-126069, CVE-2026-126072, CVE-2026-126073, CVE-2026-126074, CVE-2026-126076, CVE-2026-126077, CVE-2026-126078, CVE-2026-126080, CVE-2026-126081, CVE-2026-126085, CVE-2026-126186, CVE-2026-126188