# CVE-2026-55172: Open OnDemand: Session\_store directory ownership

- **Severity:** MEDIUM 5.4
- **CVSS:** 5.4 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Attack requirements: Present; Privileges required: Low; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-28)
- **CWE:** CWE-377
- **Published:** 2026-11-18T21:02:19.541Z
- **Modified:** 2026-11-19T16:21:31.200Z

## Who should check

- Anyone running OSC ondemand \< 4.1.6; \>= 4.2.0, \< 4.2.3

## 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.

## Affected and fixed versions

- OSC ondemand: \< 4.1.6; \>= 4.2.0, \< 4.2.3 (cvelist)

## Mitigation

- Upgrade ondemand to 4.2.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55172. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55172.md
Affected: OSC ondemand < 4.1.6; >= 4.2.0, < 4.2.3
Fixed in: OSC ondemand 4.1.6, OSC ondemand 4.2.3

Steps:
1. Search this machine and project for OSC ondemand: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55172 being exploited?

There is no confirmed exploitation: CVE-2026-55172 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-55172?

Medium: CVSS 5.4 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-55172?

OSC ondemand \< 4.1.6; \>= 4.2.0, \< 4.2.3.

### Is there a fix for CVE-2026-55172?

Yes. Fixed in OSC ondemand 4.1.6, OSC ondemand 4.2.3. Upgrade ondemand to 4.2.3 or later.

### How do I check if I'm affected by CVE-2026-55172?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/OSC/ondemand/security/advisories/GHSA-wqv4-4vj3-rgh5>
- patch: <https://github.com/OSC/ondemand/pull/5558>
- patch: <https://github.com/OSC/ondemand/commit/1b0c550921edeb40beaf6c7dcbe2b0fc3a40ec3c>
- patch: <https://github.com/OSC/ondemand/commit/79265f593aac10ef797cd3293ec3c8b7a2572339>
- other: <https://github.com/OSC/ondemand/releases/tag/v4.1.6>
- other: <https://github.com/OSC/ondemand/releases/tag/v4.2.3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55172>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-55172> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55172>
