Debian dla-4829 : rails - security update

critical Nessus Plugin ID 364213

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-4829 advisory.

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

Package : rails Version : 2:6.1.7.10+dfsg-1~deb12u3 CVE ID : CVE-2026-33168 CVE-2026-33169 CVE-2026-33170 CVE-2026-33173 CVE-2026-33176 CVE-2026-33195 CVE-2026-33202 CVE-2026-66066 Debian Bug : 1132035 1143080

Multiple security issues were discovered in the Rails web framework which could result in cross-site scripting, denial of service, path traversal, or the execution of arbitrary code.

CVE-2026-33168

In Action View, tag helpers skipped escaping when an HTML attribute name was blank, which could allow cross-site scripting. Blank attribute names are now dropped.

CVE-2026-33169

In Active Support, number_to_delimited took quadratic time on long digit strings, which could be used for a denial of service.

CVE-2026-33170

In Active Support, formatting an unsafe SafeBuffer with % marked the result as html_safe, which could allow cross-site scripting.
The result now stays unsafe.

CVE-2026-33173

In Active Storage, a direct upload could set the analyzed and identified metadata keys and skip content-type detection. Those keys are now dropped from client-supplied metadata.

CVE-2026-33176

In Action View, number helpers expanded scientific notation through BigDecimal, so input such as 1E1000 could use excessive CPU and memory, leading to a denial of service.

CVE-2026-33195

In Active Storage, the disk service accepted keys containing ../, which allowed path traversal outside the storage root. Such keys now raise InvalidKeyError.

CVE-2026-33202

In Active Storage, the disk service's delete_prefixed passed the prefix to Dir.glob without escaping, so glob metacharacters could delete unintended files. Glob metacharacters are now escaped.

CVE-2026-66066

In Active Storage, applications that set the variant processor to :vips left libvips's untrusted, unfuzzed loaders enabled, which could allow crafted images to execute arbitrary code. The vips processor now blocks untrusted loaders. The default MiniMagick processor is not affected.

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

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-33168

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

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

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

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

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

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

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

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

Plugin Details

Severity: Critical

ID: 364213

File Name: debian_DLA-4829.nasl

Version: 1.2

Type: Local

Agent: unix

Published: 10/8/2026

Updated: 10/9/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.9

Percentile: 99.71

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

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

CVSS Score Source: CVE-2026-33195

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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:F/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.5

Threat Score: 9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CVSS Score Source: CVE-2026-66066

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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/8/2026

Vulnerability Publication Date: 3/23/2026

Exploitable With

Metasploit (Ruby on Rails Active Storage Vips Arbitrary File Read and Remote Code Execution)

Reference Information

CVE: CVE-2026-33168, CVE-2026-33169, CVE-2026-33170, CVE-2026-33173, CVE-2026-33176, CVE-2026-33195, CVE-2026-33202, CVE-2026-66066