{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-126075","published":"2026-11-10T21:19:25.880000Z","last_modified":"2026-11-12T22:09:39.233000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":4.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["rails"],"products":["rails/rails"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2w9f-fxwj-w2qf","ecosystem":"RubyGems","name":"activesupport","purl":"pkg:gem/activesupport","ranges":[{"introduced":"8.1.0.beta1","fixed":"8.1.4.1"}],"versions":["8.1.0","8.1.0.beta1","8.1.0.rc1","8.1.1","8.1.2","8.1.2.1","8.1.3","8.1.3.1","8.1.4"],"versions_truncated":false}],"severity":"medium","priority_score":43,"links":{"html_es":"/es/cve/CVE-2026-126075/","html_en":"/en/cve/CVE-2026-126075/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-126075","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-126075"},"untrusted":{"vendor_name":"rails","product_name":"rails","desc_en":"Active Support is a collection of utility classes and standard library extensions used by Rails and other Ruby projects. From 8.1 until 8.1.4.1, ActiveSupport::MessagePack serializes an ActiveSupport::SafeBuffer as its bytes alone and deserializes it as a new SafeBuffer, so a buffer that is no longer html_safe? (for example, one mutated in place with gsub!) is restored as html_safe. If such a buffer holds untrusted input and is stored through a MessagePack serializer, rendering it after it is loaded bypasses ERB auto-escaping, possibly leading to XSS. Applications on Rails 8.1 are affected if they use a MessagePack serializer, such as config.action_dispatch.cookies_serializer = :message_pack or :message_pack_allow_marshal, or serializer: :message_pack for Rails.cache, ActiveSupport::MessageVerifier or ActiveSupport::MessageEncryptor, and store a SafeBuffer that was mutated in place with untrusted input. Rails 8.0 and earlier do not serialize SafeBuffer with MessagePack and are not affected. This issue is fixed in version 8.1.4.1.","affected":[{"untrusted_vendor":"rails","untrusted_product":"rails","versions":[]}],"references":[{"url":"https://github.com/rails/rails/commit/4ca090665976e6fbc471c38689b399f84b43cdc7","tags":[]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.4.1","tags":[]},{"url":"https://github.com/rails/rails/security/advisories/GHSA-2w9f-fxwj-w2qf","tags":[]}]}}