{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "4.1.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "4.2.0"
                  },
                  {
                    "fixed": "4.2.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "1b0c550921edeb40beaf6c7dcbe2b0fc3a40ec3c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "79265f593aac10ef797cd3293ec3c8b7a2572339"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v4.1.6",
                "range": [
                  {
                    "fixed": "79eb10949ee160cc1325ab8e3728e8db84376644"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v4.2.3",
                "range": [
                  {
                    "fixed": "facf1318f552c7cf4a19b33c482267dc36bfc9af"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "79eb10949ee160cc1325ab8e3728e8db84376644"
            },
            {
              "introduced": "9af45c9e555bc86000259af025f63d77eca562e9"
            },
            {
              "fixed": "facf1318f552c7cf4a19b33c482267dc36bfc9af"
            },
            {
              "fixed": "1b0c550921edeb40beaf6c7dcbe2b0fc3a40ec3c"
            },
            {
              "fixed": "79265f593aac10ef797cd3293ec3c8b7a2572339"
            }
          ],
          "repo": "https://github.com/osc/ondemand",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-wqv4-4vj3-rgh5"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-377"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55172.json"
  },
  "details": "Open OnDemand is an open-source high-performance computing portal. Prior to 4.1.6 and 4.2.3, apps/dashboard/config/initializers/session_store.rb stores dashboard sessions by default in a predictable /var/tmp/\u003cusername\u003e directory, or in another location configured by an administrator, but omits PUN user directory ownership and mode 0700 validation. A local attacker can pre-create another user's directory, read the victim's session identifier and CSRF token after login, or stage a predetermined session identifier. ActiveSupport file-store deserialization of attacker-controlled cache data may also occur in the victim's context, enabling file modification or code execution with the victim's privileges. This issue is fixed in versions 4.1.6 and 4.2.3.",
  "id": "CVE-2026-55172",
  "modified": "2026-11-18T22:45:24.017114302Z",
  "published": "2026-11-18T21:02:19.541Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55172.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OSC/ondemand/commit/1b0c550921edeb40beaf6c7dcbe2b0fc3a40ec3c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OSC/ondemand/commit/79265f593aac10ef797cd3293ec3c8b7a2572339"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OSC/ondemand/pull/5558"
    },
    {
      "type": "WEB",
      "url": "https://github.com/OSC/ondemand/releases/tag/v4.1.6"
    },
    {
      "type": "WEB",
      "url": "https://github.com/OSC/ondemand/releases/tag/v4.2.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/OSC/ondemand/security/advisories/GHSA-wqv4-4vj3-rgh5"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55172"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Open OnDemand: Session_store directory ownership"
}