Predictable session directory in Open OnDemand enables session theft
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Open OnDemand versions before 4.1.6 and from 4.2.0 before 4.2.3 store dashboard sessions in a predictable /var/tmp/<username> directory without checking its ownership or permissions. A local attacker can pre-create that directory to read a victim's session identifier and CSRF token after login, or to plant a predetermined session identifier (CWE-377). Attacker-controlled cache data may also be deserialized in the victim's context, which can modify files or execute code with the victim's privileges.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update Open OnDemand to version 4.1.6 or 4.2.3, which fix the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
- Fix · CNA ondemand (OSC) Fixed in 4.1.6, 4.2.3
Timeline
- 2026-11-18 Threatist record created from CVE-2026-55172
- 2026-11-19 CISA SSVC decision points changed
References
Other 6
- 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
More OSC vulnerabilities
- TI-2026-94228 Predictable OIDC passphrase in Open OnDemand allows session forgery CVSS 4.0CRITICAL 9.1
- TI-2026-94227 Plaintext noVNC passwords in Open OnDemand access logs CVSS 4.0HIGH 8.4
- TI-2020-18567 Open OnDemand before 1.5.7 and 1.6.x before 1.6.22 allows CSRF. CVSS 3.1HIGH 8.8
- TI-2025-39628 Open OnDemand RPM packages create world writable locations CVSS 4.0MEDIUM 6.9
- TI-2025-40555 Open OnDemand affected by Apache proxy passing sensitive headers CVSS 3.1HIGH 7.6
- TI-2026-21016 OnDemand susceptible to malicious input when navigating to a directory. CVSS 4.0MEDIUM 6.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences