{"schemaVersion":4,"id":"CVE-2026-126075","aliases":["GHSA-2w9f-fxwj-w2qf","CGA-hxhv-5xm9-9gr3","CGA-3hwr-6hrf-vf3h","CGA-vhh3-w8wg-g4xq","CGA-87vr-g92p-p992","UBUNTU-CVE-2026-126075"],"status":"published","duplicateOf":null,"title":"Active Support: Possible XSS vulnerability in Active Support MessagePack serializer","description":"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.","dates":{"published":"2026-11-10T20:50:44.522Z","modified":"2026-11-12T19:04:25.068Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.7,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","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","exploitability":4.1,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","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","exploitability":4.1,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","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","exploitability":4.1,"impact":4.5,"computed":true}]},"epss":{"probability":0.00332,"percentile":0.28383,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-11T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00332,"percentile":0.28383}],"last30":[{"date":"2026-11-11T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00336,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00314,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00332,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00332,"percentile":0.28383}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"chainguard","product":"pghero","name":"pghero","label":"pghero","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/pghero","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 3.8.0-r13","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.8.0-r13","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 3.8.0-r13","eol":null,"hubHref":null},{"vendor":"chainguard","product":"pghero-fips","name":"pghero-fips","label":"pghero-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/pghero-fips","purlType":"apk","versions":[{"text":"< 3.8.0-r12","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.8.0-r12","endInclusive":false}},{"text":"< 3.8.0-r13","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"3.8.0-r13","endInclusive":false}}],"versionsText":"< 3.8.0-r12 | < 3.8.0-r13","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rails","name":"rails","label":"rails","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rails","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"activesupport","name":"activesupport","label":"activesupport","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/activesupport","purlType":"gem","versions":[{"text":"≥ 8.1.0.beta1, < 8.1.4.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.1.0.beta1","startInclusive":true,"end":"8.1.4.1","endInclusive":false}}],"versionsText":"≥ 8.1.0.beta1, < 8.1.4.1","eol":null,"hubHref":null},{"vendor":"rails","product":"rails","name":"rails","label":"rails","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.1, < 8.1.4.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"8.1","startInclusive":true,"end":"8.1.4.1","endInclusive":false}}],"versionsText":"≥ 8.1, < 8.1.4.1","eol":null,"hubHref":"/vendor/rails/rails"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-2w9f-fxwj-w2qf","label":"github.com/rails/rails/security/advisories/GHSA-2w9f-fxwj-w2qf","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","REPORT"]},{"url":"https://github.com/rails/rails/commit/4ca090665976e6fbc471c38689b399f84b43cdc7","label":"github.com/rails/rails/commit/4ca090665976e6fbc471c38689b399f84b43cdc7","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT"]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.4.1","label":"github.com/rails/rails/releases/tag/v8.1.4.1","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT"]},{"url":"https://github.com/rails/rails","label":"github.com/rails/rails","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/GHSA-2w9f-fxwj-w2qf.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/GHSA-2w9f-fxwj-w2qf.yml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126075.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126075.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126075","label":"nvd.nist.gov/vuln/detail/CVE-2026-126075","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-126075","label":"ubuntu.com/security/CVE-2026-126075","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-126075","label":"www.cve.org/CVERecord?id=CVE-2026-126075","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-10T20:50:44.522Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-12T19:04:25.068Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,47],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00332,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-12T19:04:25.068Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-11-12T19:04:25.068Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_rubygems","date":"2026-11-12T19:04:25.068Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2026-11-12T19:04:25.068Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-12T19:04:25.068Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-12T19:04:03.818Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00332,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:07:39.617Z","stale":false,"partial":false}}