Open OnDemand: Session_store directory ownership
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 18, 2026
- Updated
- Nov 19, 2026
- Reserved
- Jun 16, 2026
Description
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/<username> 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.
| Product | Versions |
|---|---|
| ondemand OSC | < 4.1.6 Affected>= 4.2.0, < 4.2.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.4 Medium | GitHub_M |
Weaknesses
- CWE-377 Insecure Temporary File
References
- https://github.com/OSC/ondemand/security/advisories/GHSA-wqv4-4vj3-rgh5
- https://github.com/OSC/ondemand/pull/5558
- https://github.com/OSC/ondemand/commit/1b0c550921edeb40beaf6c7dcbe2b0fc3a40ec3c
- https://github.com/OSC/ondemand/commit/79265f593aac10ef797cd3293ec3c8b7a2572339
- https://github.com/OSC/ondemand/releases/tag/v4.1.6
- https://github.com/OSC/ondemand/releases/tag/v4.2.3
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.