Description
ActiveSupport::EncryptedFile writes contents that will be encrypted to a
temporary file. The temporary file's permissions are defaulted to the user's
current `umask` settings, meaning that it's possible for other users on the
same system to read the contents of the temporary file.
Attackers that have access to the file system could possibly read the contents
of this temporary file while a user is editing it.
All users running an affected release should either upgrade or use one of the
workarounds immediately.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Rails | ActiveSupport | >= 5.2.0 – < >= 5.2.0 | >= 5.2.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rails | 2:7.2.2.1+dfsg-1 | — |
| Debian 13 | rails | 2:7.2.2.1+dfsg-1 | — |
| Debian 12 | rails | 2:6.1.7.10+dfsg-1~deb12u1 | DSA-5881-1 |
| Debian 11 | rails | 2:6.0.3.7+dfsg-2+deb11u3 | DLA-4383-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rails | No fix yet | — |
| Ubuntu 26.04 LTS | rails | No fix yet | — |
| Ubuntu 25.10 | rails | No fix yet | — |
| Ubuntu 24.04 LTS | rails | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 20.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 18.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 16.04 LTS | rails | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Satellite Utils 6 | foreman +1 | 3.9.1.6-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | foreman +1 | 3.9.1.6-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | puppetserver | 7.14.0-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-aiohttp +1 | 3.9.2-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-django +1 | 4.2.9-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-galaxy-importer +1 | 0.4.19-2.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-jinja2 +1 | 3.1.3-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-pycryptodomex +1 | 3.20.0-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | python-pygments +1 | 2.17.0-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite Capsule 6 | rubygem-activesupport | 6.1.7.6-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite 6 | foreman +14 | 3.9.1.6-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite 6 | puppetserver | 7.14.0-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-aiohttp +1 | 3.9.2-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-django +1 | 4.2.9-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-galaxy-importer +1 | 0.4.19-2.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-jinja2 +1 | 3.1.3-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-pycryptodomex +1 | 3.20.0-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | python-pygments +1 | 2.17.0-1.el8pc | RHSA-2024:2010 |
| Red Hat Satellite 6 | rubygem-activesupport | 6.1.7.6-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite 6 | rubygem-audited | 5.4.2-1.el8sat | RHSA-2024:2010 |
| Red Hat Satellite 6 | rubygem-puma | 6.4.2-1.el8sat | RHSA-2024:2010 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP5 | rubygem-activesupport-5.2 | 5.2.3-bp155.3.5.1 | openSUSE-SU-2023:0350-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ruby3.2-rubygem-rails-7.0 +2 | 7.0.8-1.1 | openSUSE-SU-2024:13433-1, openSUSE-SU-2024:13432-1, openSUSE-SU-2024:13397-1 |
| openSUSE Tumbleweed | rubygem-rails-7.0 +2 | 7.0.8.4-1.1 | openSUSE-SU-2025:15124-1, openSUSE-SU-2025:15114-1, openSUSE-SU-2025:15112-1 |
| openSUSE Leap 15.5 | rubygem-activesupport-5.2 | 5.2.3-bp155.3.5.1 | openSUSE-SU-2023:0350-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | kube-fluentd-operator | 1.17.6-r8 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | activesupport | >= 5.2.0, < 6.1.7.5 | 6.1.7.5 | GHSA-cr5q-6q9f-rq6q |
| RubyGems | activesupport | >= 7.0.0, < 7.0.7.1 | 7.0.7.1 | GHSA-cr5q-6q9f-rq6q |
Advisories 15
- RHSA-2024:2010 Red Hat Security Advisory: Satellite 6.15.0 release Red Hat Security Advisories (RHSA) · Oct 13, 2026
- DSA-5881-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:14071-1 ruby3.3-rubygem-activesupport-7.0-7.0.8.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2023:0350-1 Security update for rubygem-activesupport-5.2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:15124-1 ruby3.4-rubygem-rails-7.0-7.0.8.6-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:15114-1 ruby3.4-rubygem-activesupport-7.0-7.0.8.6-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14074-1 ruby3.3-rubygem-rails-7.0-7.0.8.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14069-1 ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13432-1 ruby3.2-rubygem-activerecord-7.0-7.0.8-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:15112-1 ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13397-1 ruby3.2-rubygem-activesupport-7.0-7.0.8-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-0949 Red Hat Satellite: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 26, 2026
- WID-SEC-2023-2116 Ruby on Rails: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Nov 25, 2025
- DLA-4383-1 rails - security update Debian Security (DSA / DLA) · Nov 25, 2025
- openSUSE-SU-2024:13433-1 ruby3.2-rubygem-rails-7.0-7.0.8-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025