CVE-2026-55172
CVE-2026-55172 · Open OnDemand: Session_store directory ownership
CVSS 5.4 · Medium · EPSS 0.1%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- ondemandNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
ondemand
- Versions
- < 4.1.6: Affected
- >= 4.2.0, < 4.2.3: Affected
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-55172