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)

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~deb12u3vulnerable
trixie2:7.2.2.2+dfsg-2~deb13u1vulnerable
trixie (security)2:7.2.2.2+dfsg-2~deb13u2vulnerable
forky2:7.2.4+dfsg-1vulnerable
sid2:7.2.4+dfsg-2vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
railssource(unstable)(unfixed)

Notes

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

Search for package or bug name: Reporting problems