Skip to content

Authenticated IDOR in /api/raw/assets/{path} lets any user read other users' assets (saves, states, screenshots, avatars)

Moderate
gantoine published GHSA-fjfx-pqq5-992r Jul 20, 2026

Package

romm

Affected versions

<= 4.9.2

Patched versions

>= 5.0.0

Description

Summary

The raw asset download endpoint GET /api/raw/assets/{path} authenticates the caller but never checks that the requested file belongs to them. Because every user's files are stored under a predictable directory name, any authenticated user (the default non-kiosk "viewer" role is enough) can read every other user's uploaded assets: profile avatars, game saves, save states, and screenshots.

Details

[REDACTED]

PoC

[REDACTED]

Impact

CWE-639 (Authorization Bypass Through User-Controlled Key) / broken object-level authorization. In any multi-user RomM instance, one low-privileged account can exfiltrate every other user's private uploaded assets (avatars, saves, save states, screenshots) over authenticated HTTP, with no admin rights and no brute force (paths are deterministic). Screenshots and saves may contain personal content; this breaks isolation between users.

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CVE ID

No known CVE

Weaknesses

No CWEs

Credits