{"id":"CVE-2026-55172","summary":"Open OnDemand: Session_store directory ownership","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.","aliases":["GHSA-wqv4-4vj3-rgh5"],"modified":"2026-11-18T23:00:53.409894745Z","published":"2026-11-18T21:02:19.541Z","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"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/osc/ondemand","events":[{"introduced":"0"},{"fixed":"79eb10949ee160cc1325ab8e3728e8db84376644"},{"introduced":"9af45c9e555bc86000259af025f63d77eca562e9"},{"fixed":"facf1318f552c7cf4a19b33c482267dc36bfc9af"},{"fixed":"1b0c550921edeb40beaf6c7dcbe2b0fc3a40ec3c"},{"fixed":"79265f593aac10ef797cd3293ec3c8b7a2572339"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"4.1.6"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"4.2.0"},{"fixed":"4.2.3"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"1b0c550921edeb40beaf6c7dcbe2b0fc3a40ec3c"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"79265f593aac10ef797cd3293ec3c8b7a2572339"}]},{"source":"REFERENCES_TAG","original_tag":"v4.1.6","range":[{"fixed":"79eb10949ee160cc1325ab8e3728e8db84376644"}]},{"range":[{"fixed":"facf1318f552c7cf4a19b33c482267dc36bfc9af"}],"source":"REFERENCES_TAG","original_tag":"v4.2.3"}]}}],"versions":["v4.2.2","v4.1.5","v4.2.1","v4.2.0","v4.1.4","v4.1.3","v4.1.2","v4.1.1","v4.1.0","v4.1.0-0.rc1","v4.1.0-0.rc.1","v4.1.0-0.1.start.1","v4.0.0","v4.0.0-0.rc1","v4.0.0-0.start.1","v3.1.0","v3.1.0-0.rc2","v3.1.0-0.rc1","v3.1.0-0.1.start.1","v3.0.1","v3.0.0","v3.0.0-0.rc1","v2.1.0","v2.1.0-0.rc9","v2.1.0-0.rc8","v2.1.0-0.rc7","v2.1.0-0.rc6","v2.1.0-0.rc5","v2.1.0-0.rc4","v2.1.0-0.rc3","v2.1.0-0.rc2","v2.1.0-0.rc1","v2.1.0-0.start.4","v2.1.0-0.start.3","v2.1.0-0.start.2","v2.1.0-0.start.1","v2.1.0-0.start","v2.0.16","v2.0.15","v2.0.14","v2.0.13","v2.0.12","v2.0.11","v2.0.10","v2.0.9","v2.0.8","v2.0.7","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.8.19-2","v1.8.18","v1.8.17","v1.8.16","v1.8.15","v1.8.14","v1.8.13-2","v1.8.13","v1.8.12","v1.7.14","v1.8.11","v1.8.10","v1.8.9","v1.8.8","v1.8.7","v1.8.6","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.12","v1.7.11","v1.7.10-2","v1.7.7","v1.7.10","v1.7.9","v1.7.8","v1.5.5","v1.7.7_rc5","v1.7.7_rc4","v1.7.7_rc1","v1.7.7_rc3","v1.7.7_rc2","v1.7.6","v1.7.5","v1.7.4","v1.7.3-3","v1.7.3-2","v1.7.3","v1.7.2","v1.7.2_demo-2","v1.7.2_demo","v1.7.1","v1.7.0-2","v1.6.19","v1.7.0_rc2","v1.7.0_rc1","v1.7.0","v1.6.18","v1.6.18_rc1","v1.6.17-2","v1.6.17","v1.6.16","v1.6.15","v1.6.14","v1.6.13","v1.6.12_citest","v1.6.12","v1.6.11","v1.6.10","v1.6.9","v1.6.8","v1.6.8_cr3","v1.6.7","v1.6.6","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.6","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.10","v1.4.8","v1.4.7","v1.4.6","v1.4.5","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.7","v1.3.6","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55172.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}