Description
RansomLook created its Flask session-signing key without explicitly restricting the file permissions. The secret_key file was created using the process's default permissions and umask, resulting in permissions such as 0644 under a common 022 umask. Consequently, other local users able to access the RansomLook home directory could read the application's cryptographic secret.


The exposed key is security-critical because it is used to sign Flask session cookies and is also involved in the legacy API-key key derivation. An attacker who obtains the key can generate valid session cookies and impersonate an authenticated user, including an administrator. In LDAP configurations, exploitation may be particularly straightforward because the session user loader does not require the supplied username to correspond to an existing local user.


Successful exploitation requires local access sufficient to read the improperly protected file, but can result in complete compromise of RansomLook's authentication and authorization controls.


The patch creates new secret-key files atomically with permissions 0600 and also restricts permissions on existing key files during application startup.
Published: 2026-08-24
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege escalation via forged sessions
Action: Patch Now
AI Analysis

Impact

RansomLook creates its Flask session‑signing key without restricting file permissions. The secret_key file is written with the process’s default umask, often resulting in 0644. Because the file resides in the application’s home directory, any local user with read access can obtain the key. The key is used to sign session cookies and to derive legacy API‑keys, so an attacker who reads it can forge valid session cookies, impersonate any authenticated user, and even take on administrator privileges. The vulnerability is a classic example of insecure file permissions (CWE‑276 and CWE‑732) that jeopardize authentication and authorization across the application.

Affected Systems

All publicly available releases of the RansomLook application are affected; version or build information is not specified in the advisory.

Risk and Exploitability

The issue is local only and requires read access to the insecure secret_key file. An attacker with such access can immediately compromise the application’s authentication and authorization controls. The CVSS base score of 7 indicates moderate severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting limited evidence of exploitation in the wild.

Generated by OpenCVE AI on August 24, 2026 at 20:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest RansomLook release that atomically creates secret_key files with permissions 0600 and corrects existing keys during startup.
  • If an older key already exists, restart the application so the patched startup code updates its permissions to 0600.
  • Restrict the RansomLook home directory so that only the RansomLook user (or a dedicated group) has read access, for example by setting the directory mode to 750 or stricter.

Generated by OpenCVE AI on August 24, 2026 at 20:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 24 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 24 Aug 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Ransomlook
Ransomlook ransomlook
Vendors & Products Ransomlook
Ransomlook ransomlook

Mon, 24 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Description RansomLook created its Flask session-signing key without explicitly restricting the file permissions. The secret_key file was created using the process's default permissions and umask, resulting in permissions such as 0644 under a common 022 umask. Consequently, other local users able to access the RansomLook home directory could read the application's cryptographic secret. The exposed key is security-critical because it is used to sign Flask session cookies and is also involved in the legacy API-key key derivation. An attacker who obtains the key can generate valid session cookies and impersonate an authenticated user, including an administrator. In LDAP configurations, exploitation may be particularly straightforward because the session user loader does not require the supplied username to correspond to an existing local user. Successful exploitation requires local access sufficient to read the improperly protected file, but can result in complete compromise of RansomLook's authentication and authorization controls. The patch creates new secret-key files atomically with permissions 0600 and also restricts permissions on existing key files during application startup.
Title Insecure Flask Secret-Key File Permissions Allow Local Administrator Session Forgery in RansomLook
Weaknesses CWE-276
CWE-732
References
Metrics cvssV4_0

{'score': 7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Ransomlook Ransomlook
cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-08-24T20:07:07.041Z

Reserved: 2026-08-24T19:28:46.092Z

Link: CVE-2026-78553

cve-icon Vulnrichment

Updated: 2026-08-24T20:07:03.203Z

cve-icon NVD

Status : Deferred

Published: 2026-08-24T20:17:24.383

Modified: 2026-08-26T16:49:18.760

Link: CVE-2026-78553

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T21:00:13Z

Weaknesses
  • CWE-276

    Incorrect Default Permissions

  • CWE-732

    Incorrect Permission Assignment for Critical Resource