CVE-2026-122006

NameCVE-2026-122006
DescriptionThe activestorage gem before 8.1.4.1 for Ruby on Rails, when ImageMagick attachment processing occurs, can allow server read and write operations (e.g., reading secret_key_base) because the ImageMagick analyzer runs when a file is attached, and there is not an ImageMagick security policy to block unintended functionality.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4934-1
Debian Bugs1154301

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rails (PTS)bookworm2:6.1.7.10+dfsg-1~deb12u2vulnerable
bookworm (security)2:6.1.7.10+dfsg-1~deb12u4fixed
trixie (security), trixie2:7.2.2.2+dfsg-2~deb13u2vulnerable
forky, sid2:7.2.4+dfsg-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
railssourcebookworm2:6.1.7.10+dfsg-1~deb12u4DLA-4934-1
railssource(unstable)2:7.2.4+dfsg-31154301

Notes

https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9

Search for package or bug name: Reporting problems