{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "original_tag": "v8.1.4.1",
                "range": [
                  {
                    "fixed": "3f290b759c8e2ffe7c257951b1255740751355e4"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v8.0.5.2",
                "range": [
                  {
                    "fixed": "235c597b100321b6bd2d62f8df63707f42b25b2d"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3f290b759c8e2ffe7c257951b1255740751355e4"
            },
            {
              "fixed": "235c597b100321b6bd2d62f8df63707f42b25b2d"
            }
          ],
          "repo": "https://github.com/rails/rails",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f3w6-w445-fwh9"
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "cwe_ids": [
      "CWE-1188"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122006.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "8.0.5.2"
              },
              {
                "introduced": "8.1"
              },
              {
                "fixed": "8.1.4.1"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "8.0.5.2"
              },
              {
                "introduced": "8.1"
              },
              {
                "fixed": "8.1.4.1"
              }
            ],
            "source": "CPE_FIELD",
            "strategy": "CPEApplicability"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "8.1.4.1"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "The 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.",
  "id": "CVE-2026-122006",
  "modified": "2026-11-05T10:30:38.929783009Z",
  "published": "2026-11-04T14:12:17.584Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122006.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/digitalocean/droplet-1-clicks/pull/488"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rails/rails/releases/tag/v8.0.5.2"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rails/rails/releases/tag/v8.1.4.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rubysec/ruby-advisory-db/pull/1300"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-122006"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}